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
855
Scroll bar jumps up when data in UltraDataRow is changed and white space is shown at the bottom
posted

I have multiple bands in my grid, and every 3 seconds, I update every UltraDataRow behind every UltraGridRow.  This normally works fine, except if I am scrolled down far enough that there is empty space after the last visible row.  If I am scrolled down that far, on the update, it moves the horizontal scroll bar up to the top.  Is there a way to disable this behavior?

Thanks.

-Nick

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi Nick,

    My guess is that this caused by the CurrencyManager in DotNet. When you change the values in the rows of data, something in your code is probably changing the current position of the CurrencyManager and the grid is therefore synching up it's ActiveRow property and scrolling the active row into view.

    To avoid this, you can turn off this synchronization by setting SynchWithCurrencyManager on the grid to false.

Children
No Data