How to disable Scrollbar Change when GridView Update

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

    Posted 29 Apr 2016 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 2016 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. Baris
    Baris avatar
    2 posts
    Member since:
    Apr 2016

    Posted 20 Apr in reply to Maya Link to this post

    Hi Maya,


    Thanks for your help. I have solved the problem.




Back to Top