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
615
Odd groupby behavior
posted

I have a groupby column (set programmatically), and if you are looking at some data, if new data is added with a new groupby column value, it places the data above you and adds a scroll bar (and is very not obvious the new data is there).  There is a gap from current data to end of grid.  If you scroll up, scrollbar disappears and it all fits on one screen now.

Is there any way to change this behavior?

  • 615
    posted

    This seemed to work, randomly found it:

     

     

     

    DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds

    .ScrollToFill;

     

     

    DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle

    .Immediate;