RadGridView jumps to the top after edit

2 posts, 0 answers
  1. Aryn
    Aryn avatar
    9 posts
    Member since:
    Jul 2014

    Posted 14 Nov 2014 Link to this post

    Hello,


    I have a radgridview that is pretty simple. It has 8 columns, all read-only but the last one. The grid holds thousands of records without paging (by design).

    The issue I am facing is when the user scrolls to an record that would initially be below the page break and edits the record. When they exit the cell to commit the change the grid jumps back up to the top. 

    How can I get the radgridview to not jump to the top of records and stay focus on the edited record and surrounding records? Is is an issue with sorting?

    Thank you,
    Aryn
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 17 Nov 2014 Link to this post

    Hello Aryn,

    A reason why the ScrollBar is reset back to a top position would be that the underlying collection is Reset. When the collection is Reset, then RadGridView is recreated. 

    Would you please share some more information on what action do you perform as committing the edit? You also mentioned sorting, does the edited item need to re-position on top?

    Regards,
    Dimitrina
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top