I'm adding entries to end of a table that is populating a ultragrid. As I add entries, I would like the grid to SCROLL to show the newest entry.
Currently, I'm setting the active row to the new item, and that works but often the grid clears and the new item shows up at the top of the grid (on the screen).
Is there anyway to just scroll the grid so that the newest item is at the bottom of the grid? In other words, stop the grid clearning?
I've added a picture of what I'm talking about. there are about 500 items ABOVE the ones show in the grid but it looks like there is only 2 since the grid is only showing 2. you have to look at the thumbnail to see that there is actually more data.
thanks
Gene
Once again Mike...you are my hero! thank you. that did the trick. :)
I think you are looking for the ScrollBounds property. Settings this property will stop the grid from scrolling any further once the last row is visible - as opposed to allowing it to scroll so that the last row is at the top.
nope...does the same thing.
I tried the scroll method, but that doen't work correctly either.
Then I tried setting the firstrow tougLiveRadar.Rows[c - ugLiveRadar.ActiveRowScrollRegion.VisibleRows.Count]
that didn't work either.
Can you think of anything else I can try?
Not exactly sure if this will help bu.. did you try ScrollRowIntoView method of the ActiveRowScrollRegion?