This question is locked. New answers and comments are not allowed.
Hi Team,
I am facing this problem of deleting last remaining row on kendo grid on the last page does not go to the previous page....
Do i need to write the custom code or any other option of grid refresh is available?
I am trying with the following code:
function onDataBound(e) {
if (this.dataSource.view().length == 0) {
var currentPage = this.dataSource.page();
if (currentPage > 1) {
this.dataSource.page(currentPage - 1);
}
}}
Is this approach is right....any help on this please....
I am facing this problem of deleting last remaining row on kendo grid on the last page does not go to the previous page....
Do i need to write the custom code or any other option of grid refresh is available?
I am trying with the following code:
function onDataBound(e) {
if (this.dataSource.view().length == 0) {
var currentPage = this.dataSource.page();
if (currentPage > 1) {
this.dataSource.page(currentPage - 1);
}
}}
Is this approach is right....any help on this please....