How to disable Scrollbar Change when GridView Update

2 posts, 0 answers
  1. Baris
    Baris avatar
    1 posts
    Member since:
    Apr 2016

    Posted 29 Apr Link to this post


    I have a problem regarding to Gridview update. I am using ObservableCollection to bind the data and whenever ObservableCollection is updated the grid is updated as well. However the scrollbar goes to the top at each update. For example, I am dealing (reading the details about a selected row, updating the row, etc..) with a row and at the same time more data is added to Grid continuously. However, at each update UI is also updated and scrollbar goes to the top. This interrupts my work with the selected row. 

    I also don't want to save the current row and focus UI to this row again after each update because that also interrupts my process with the selected row and freezes it. I basically do not want an update on the current rows of my Grid. When new data comes, it should be added to the end of my grid and this process should not interrupt my work with the previous rows. Thanks for any kind of help.


    Kind Regards,

    Baris Cakar

  2. Maya
    Maya avatar
    4062 posts

    Posted 02 May Link to this post

    Hello Baris,

    The behavior you described is usually observed when the source collection is updated with a reset action or RadGridView rebound (calling Rebind method). Could you provide a bit more details on how you add the new items? What is the type of the source collection?

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft banner
Back to Top