Scroll to end?

4 posts, 0 answers
  1. Gerry
    Gerry avatar
    2 posts
    Member since:
    May 2011

    Posted 26 Feb 2018 Link to this post

    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.
  2. Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    665 posts

    Posted 28 Feb 2018 Link to this post

    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
  3. Martin
    Martin avatar
    18 posts
    Member since:
    Oct 2018

    Posted 11 Dec 2018 Link to this post

    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

  4. Yana
    Admin
    Yana avatar
    5013 posts

    Posted 13 Dec 2018 Link to this post

    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
Back to Top