Does the kendo-grid (Angular 2) provide a way to hide specific rows. (eg [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.
The most straight-forward approach would be to either filter the data before hand, or provide an initial filter descriptor for the Grid, eg:
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):
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.