Batch Editing: Destroy Does Not Page Correctly

2 posts, 0 answers
  1. Danny Fritz
    Danny Fritz avatar
    18 posts
    Member since:
    Jul 2012

    Posted 23 Oct 2014 Link to this post

    When Batch Editing is enabled on the Grid and you destroy a record, a record from the next page doesn't fill in the empty spot on the bottom of the grid. Instead, the number of rows in the Grid decreases.

    Here is an example
    Ideally, when a record is destroyed, the height of the Grid shouldn't change. It should borrow a record from the next page to place there.
  2. Alexander Popov
    Alexander Popov avatar
    1434 posts

    Posted 27 Oct 2014 Link to this post

    Hello Danny,

    This behavior is expected when using serverPaging and batch operations, because in order to show the next item the Grid needs to make a read request. Doing that without saving the changes first would lead to losing the changes that were made. In case you wish to always display as much items as specified in the pageSize, I would suggest using client-side paging.

    Alexander Popov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top