Wednesday, April 20, 2016

Kendo Grid Clear Grid Filters

If you need to clear the Kendo Grid Filters the following function should do it:
function clearFiter() {
$("form.k-filter-menu button[type='reset']").trigger("click");
}

KendoGrid - Detect a scroll event inside grid

If you need to detect a scroll event inside a Kendo Grid, the following can be used. (grid must have scrollable: true - which is the default)
$('#MyGrid .k-grid-content').scroll(function () {
alert('scrolled');
});