Hi,
This must be something already discussed, but I couldn't find a solution.
We need to implement a Reset button on the view with KendoGrid, which needs to clear/empty the grid (datasource). It's only clearing the UI element, but not deleting the record.
Tried jquery empty(), but doesn't look like its supported. That may be the option to use, but couldn't find any so far...
$("#gridId").data("kendoGrid").dataSource.empty();
Want to see if anyone had such scenario and have had any luck implementing the functionality?
Input on any appropriate approach is much appreciated.
Thanks,
Balwant
This must be something already discussed, but I couldn't find a solution.
We need to implement a Reset button on the view with KendoGrid, which needs to clear/empty the grid (datasource). It's only clearing the UI element, but not deleting the record.
Tried jquery empty(), but doesn't look like its supported. That may be the option to use, but couldn't find any so far...
$("#gridId").data("kendoGrid").dataSource.empty();
Want to see if anyone had such scenario and have had any luck implementing the functionality?
Input on any appropriate approach is much appreciated.
Thanks,
Balwant