Hi,
I met a problem when I am using ultragrid.
I bind my ultragrid to a bingdingList, and this ultraGrid support drag and drop. Everything works fine.But when I am trying to move a row to the first row of ultragrid, a scroll bar will appear automatically. When I scroll up, I can see the first row that I just moved.
How to be not having the scroll bar appears? (the count of rows is very small, we do not have scroll bar before I moved the row.) So that we can have a fix position of first row.
Thanks,
Xin
Hi Xin,
If the rows in the grid will all fit in the display area, then you should never get a vertical scrollbar. If that's happening, it's a bug. Make sure you have the latest service release.
You can probably work around the issue by scrolling the dropped row into view after you move it. You can do this using the grid.ActiveRowScrollRegion.ScrollRowIntoView.
Hey, Mike,
Thanks for you quick reply. I used the grid.ActiveRowScrollRegion.ScrollRowIntoView when moving to the first row, and now it works. I am using v8.2 at the moment.
Actually, I have another question about scroll bar as well. Here's my situiation:
I have a ultragrid with three columns: A,B,C (B,C) columns is hidden. I edit the A column(the only visible column) to be just fit the ultragrid. But when I am using outlook groupby feature and group column A, a horizontal scoll bar will appear. It seems a seprate UI element will appear before the column when I am using groupby. how can I make the Acolumn width to be just fit the ultragrid and there is no horizontal scoll bar?