Could the popup editor edits a row not shown in current page ?

3 posts, 0 answers
  1. Paolo
    Paolo avatar
    30 posts
    Member since:
    Mar 2017

    Posted 04 Oct 2017 Link to this post


    I have the following scenario:

    1. User is watching a grid with popup edit mode, paginated, with remote datasource
    2. He goes to page 5
    3. He presses edit on a single record
    4. After he follows an hyper link on the application and the URL change
    5. Now after visiting this URL he wants go back to the previous page, so he pressed browser back button where he was editing the record X on page 5

    I thinks the back button presents the kendo grid starting again from page 1, so the edited record is not in the current page anymore


    • Can we open a grid popup for a record not in the current page of datasource ?
    • Could it be accomplished with kendo grid popup edit mode ?

    If it cannot not be accomplished with native kendo grid behaviour what are your suggestions for the right implementation ? ( virtual scrolling ?)


  2. Stefan
    Stefan avatar
    2491 posts

    Posted 06 Oct 2017 Link to this post

    Hello, Paolo,

    In this scenario, I can recommend checking our demo for persisting the Grid state. This will allow persisting the page number once the user navigates away from the Grid and then comes back:

    Also, the same record can be set programmatically in edit mode using the editRow method. Please have in mind that we recommend using row indexes to determine which row of the page has to be set in edit mode. The row index can be retrieved on the edit event of the Grid:

    I hope this is helpful.

    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Paolo
    Paolo avatar
    30 posts
    Member since:
    Mar 2017

    Posted 06 Oct 2017 in reply to Stefan Link to this post

    Hi Stefan, thanks for your quick response, I arrived to the same conclusion, for example going back with browser button after restoring current page from an URL parameter ( location.hash for example could be updated every time user changes page ) we can run editRow with the old row id

    Thanks for clarifying the scenario

    In our app we also played with grid options to persist column position and width, and it nicely works 


Back to Top