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

Scroll to end?

3 Answers 208 Views
DataGrid
This is a migrated thread and some comments may be shown as answers.
Gerry
Top achievements
Rank 1
Gerry asked on 26 Feb 2018, 03:31 PM
Another, hopefully, quick question: is there a way to programatically scroll to the last row. Basically, when a new row is added I need to make sure it is visible on screen.

3 Answers, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 28 Feb 2018, 01:35 PM
Hi, Gerry,

The RadDataGrid does not expose a mechanism to programmatically scroll. I have created a feature request so we can implement this. You can track it on the following link from our Ideas & Feedback portal - DataGrid: Expose API to programmatically scroll to an item. Please follow the item for automatic updates. I have added some points to your account as well.

Regards,
Stefan Nenchev
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Martin
Top achievements
Rank 1
answered on 11 Dec 2018, 10:44 AM

Hello,

as I see, programmatically scrolling was not yet implemented?

My RadDataGrids "ItemsSource" and "SelectedItem" are bound to my viewmodel. After the Grid is filled with items, which also makes the Grid to scroll vertical, I set the selected item in the viewmodel. That works, the item gets selected at the grids surface. But if the item is out of view in vertical direction, the Grid won't bring it into view automatically, nor can I scroll to it programmatically. What can I do?

 

Thank you,

regards Martin

0
Yana
Telerik team
answered on 13 Dec 2018, 08:32 AM
Hi Martin,

Thank you for explaining the scenario you have. Indeed, a way for programmatic scrolling would be needed in order to accomplish the desired result and at this point I am afraid there isn't any other approach I could suggest. Please cast your vote for the mentioned in this thread feature request and also if you're following the item, you will receive notifications when there is any progress on it.

In addition, I have raised the feature priority per your request.

Let me know if I can help with anything else.

Regards,
Yana
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
DataGrid
Asked by
Gerry
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Martin
Top achievements
Rank 1
Yana
Telerik team
Share this question
or