Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
950
Scrolling to top when grid updated
posted

Hi I have a ultraGrid and using datasource to bound as 

grid.SetDataBinding(List , null, true);

If any addition or updating the list I am using like

_list.Add(newItem) ;

_view.List = _list;

My problem is if I scroll the grid down and add or update the list scroll is going to top which I dont want.

I have UltraTree and behaving the same .

I want not to move the scroll position until user move it.

Please advise.

 

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    I'm not sure I understand what you are describing. It looks like the new row you are added would be added to the bottom, since you are using Add and not Insert. So I don't see anything here that should cause the list to scroll.

    But I'm not sure what _view is here or why you are re-assigning it every time you add an item to your list.

Children