Kendo Version 2013.2.716
Kendo MVC Wrappers
I currently have a grid that has InLine editing enabled, and also makes use of a pager whose ServerOperation is set to false (meaning all the sorting, paging, etc happens client side rather than re-poll the server).
When creating a new record InLine, if the user selects another page in the pager (without actually saving the new record first), and then returns to the original page that the new record had been inserted, it displays an empty row as though it had been saved.
I have tried looking into the DataBound event, but I cant find any indicator on that event that tells me whether it is as a result of a page action, a filter action, etc. Clearing the edit mode in the DataBound event interrupts the Create or Edit functions, as those also trigger DataBound.
The question is: is there a way to instruct the grid to clear the edit mode any changes when the pager or filter options are used and not insert an empty row?
Kendo MVC Wrappers
I currently have a grid that has InLine editing enabled, and also makes use of a pager whose ServerOperation is set to false (meaning all the sorting, paging, etc happens client side rather than re-poll the server).
When creating a new record InLine, if the user selects another page in the pager (without actually saving the new record first), and then returns to the original page that the new record had been inserted, it displays an empty row as though it had been saved.
I have tried looking into the DataBound event, but I cant find any indicator on that event that tells me whether it is as a result of a page action, a filter action, etc. Clearing the edit mode in the DataBound event interrupts the Create or Edit functions, as those also trigger DataBound.
The question is: is there a way to instruct the grid to clear the edit mode any changes when the pager or filter options are used and not insert an empty row?