Reputation: 2353
Does the kendo-grid (Angular 2) provide a way to hide specific rows. (e.g. [rowClass]="rowCallback"
). I would like to check a certain bool property of the binding item and based on the value show or hide the row.
Upvotes: 0
Views: 2622
Reputation: 2098
The most straight-forward approach would be to either filter the data before hand, or provide an initial filter descriptor for the Grid, e.g.:
You can also use the rowClass callback to add a custom class to the respective grid rows based on some data item property (available as args.dataItem):
Upvotes: 4