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
445
Multiband vertical scrollbar
posted

Hi

I have a UltraGrid with the following settings:

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

Multiband Vertical Scrollbar.zip
  • 469350
    Verified Answer
    Offline posted

    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.