{"action":"closed","issue":{"url":"https://api.github.com/repos/ceolter/angular-grid/issues/230","labels_url":"https://api.github.com/repos/ceolter/angular-grid/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/ceolter/angular-grid/issues/230/comments","events_url":"https://api.github.com/repos/ceolter/angular-grid/issues/230/events","html_url":"https://github.com/ceolter/angular-grid/issues/230","id":88587582,"number":230,"title":"rowClass only works if a function","user":{"login":"greglockwood","id":75577,"avatar_url":"https://avatars.githubusercontent.com/u/75577?v=3","gravatar_id":"","url":"https://api.github.com/users/greglockwood","html_url":"https://github.com/greglockwood","followers_url":"https://api.github.com/users/greglockwood/followers","following_url":"https://api.github.com/users/greglockwood/following{/other_user}","gists_url":"https://api.github.com/users/greglockwood/gists{/gist_id}","starred_url":"https://api.github.com/users/greglockwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greglockwood/subscriptions","organizations_url":"https://api.github.com/users/greglockwood/orgs","repos_url":"https://api.github.com/users/greglockwood/repos","events_url":"https://api.github.com/users/greglockwood/events{/privacy}","received_events_url":"https://api.github.com/users/greglockwood/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-16T01:47:25Z","updated_at":"2015-07-05T21:36:21Z","closed_at":"2015-07-05T21:36:21Z","body":"According to [the documentation](http://www.angulargrid.com/angular-grid-grid-options/index.php):\r\n\r\n> rowClass\tClass to use for the row. Can be string, array of strings, or function.\r\n\r\nHowever, when I set this to a string, in `RowRenderer.prototype.addClassesToRow()`, you have the following line which breaks:\r\n\r\n    var extraRowClasses = this.gridOptionsWrapper.getRowClass()(params);\r\n\r\nbecause `getRowClass()` just returns the value of `rowClass`, which if a string or array of strings, is not invokable.\r\n\r\nI'll change it to a function for now, but I recommend either updating the documentation or fixing this bug.\r\n\r\nThanks for all your amazing hard work, btw!"}}