I have a grid with a large data set and I have a button that clears filters and sorting but each one causes a refresh of the data:
$(function () {
$("#reset").click(function (e) {
e.preventDefault();
var datasource = $("#grid").data("kendoGrid").dataSource;
//Clear filters:
datasource.filter([]);
//Clear sorting:
datasource.sort({});
});
});
Is there a way to combine this to only refresh the data once.
Thanks,
Erik