This is a migrated thread and some comments may be shown as answers.

RadGridView jumps to the top after edit

1 Answer 123 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Aryn
Top achievements
Rank 1
Aryn asked on 14 Nov 2014, 04:51 PM
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

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 17 Nov 2014, 11:05 AM
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.

 
Tags
GridView
Asked by
Aryn
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or