Hello. I am populating a grid, much like I do all the time, but this grid always seems to end up scrolled to the last row. so: 1) Why? 2) how to prevent this 3) how do you force the grid back to the first row?
thanks.
It appears that iterating is causing the problem:
grd_All_Styles.DisplayLayout.Bands
band.ColumnFilters.ClearAllFilters()
Next
I still need to know how to force the grid to scroll back to the first row. thanks.
Basically, I just get the first row and then call:
ugGrid.ActiveRowScrollRegion.ScrollRowIntoView(row);
This might work too:
ugGrid.ActiveRowScrollRegion.Scroll(
RowScrollAction.Top);