Open altafnagri opened 10 years ago
$('.ui-icon-seek-first').on('click', function () { //choose the first page button if (this.className.indexOf('ui-state-disabled') == -1) { // if the class is not disabled grid.setSelectedRows([]); //clear the content array of selected rows } }); $('.ui-icon-seek-prev').on('click', function () { //choose the prev page button if (this.className.indexOf('ui-state-disabled') == -1) { grid.setSelectedRows([]); } }); $('.ui-icon-seek-next').on('click', function () { //choose the next page button if (this.className.indexOf('ui-state-disabled') == -1) { grid.setSelectedRows([]); } }); $('.ui-icon-seek-end').on('click', function () { //choose the end page button if (this.className.indexOf('ui-state-disabled') == -1) { grid.setSelectedRows([]); } });
if I checked one row in slickgird on first page. The row remain checked in second page. Please guide.