Hi
I have a UltraGrid with the following settings:
ViewStyle=MultiBand ViewStyleBand=Horizontal AutoFitStyle=ResizeAllColumns Scrollbars=Automatic
ViewStyle=MultiBand
ViewStyleBand=Horizontal
AutoFitStyle=ResizeAllColumns
Scrollbars=Automatic
No vertical scrollbar is displayed when there are fewer rows than visible height which is what I would expect. However, I'm finding that autosizing appears to think there is a vertical scrollbar and consequently leaves a gap after the last column as illustrated in the attached screenshot. Is this the expected behaviour? Thanks.
Adrian
Hi Adrian,
I think this is correct behavior. The grid leaves the extra space so that it doesn't have to resize the columns when a row expands. If you know you are never going to need a vertical scrollbar, I would think setting the ScrollBars property to never show the vertical scrollbar would get rid of this extra space.