{"action":"opened","issue":{"url":"https://api.github.com/repos/jakobmaier/jsGrid/issues/23","labels_url":"https://api.github.com/repos/jakobmaier/jsGrid/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/jakobmaier/jsGrid/issues/23/comments","events_url":"https://api.github.com/repos/jakobmaier/jsGrid/issues/23/events","html_url":"https://github.com/jakobmaier/jsGrid/issues/23","id":56164177,"number":23,"title":"Filter function for getRows() / getColumns()","user":{"login":"jakobmaier","id":5486786,"avatar_url":"https://avatars.githubusercontent.com/u/5486786?v=3","gravatar_id":"","url":"https://api.github.com/users/jakobmaier","html_url":"https://github.com/jakobmaier","followers_url":"https://api.github.com/users/jakobmaier/followers","following_url":"https://api.github.com/users/jakobmaier/following{/other_user}","gists_url":"https://api.github.com/users/jakobmaier/gists{/gist_id}","starred_url":"https://api.github.com/users/jakobmaier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakobmaier/subscriptions","organizations_url":"https://api.github.com/users/jakobmaier/orgs","repos_url":"https://api.github.com/users/jakobmaier/repos","events_url":"https://api.github.com/users/jakobmaier/events{/privacy}","received_events_url":"https://api.github.com/users/jakobmaier/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jakobmaier/jsGrid/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-01T13:55:00Z","updated_at":"2015-02-01T13:55:00Z","closed_at":null,"body":"The 2 functions `getRows()` and `getColumns()` should take a filter function as an argument.\r\nThis function can be used to only return specific rows/columns.\r\n\r\nExample:\r\n\r\n    table.getRows(function(row:Row): boolean{\r\n        return (row.rowType === RowType.title && row.getIndex() >= 1);\r\n    }"}}