SMART datagrid v.1 > Classes > RowFilter
Filter callback function which will select the rows to be displayed in grid when organizing grid rows from Data Set.
Only the rows which have returned true within callback function will be organized as grid rows. If set this property, expression will be ignored.
Defaults to null.
// Get and display only the top 10 rows.
grid.setRowFilter({
callback: function (row) {
return row.index() < 10;
}
});