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
145
Column Resizing and Scrollbars in a Grid
posted

Hi ,

I have an ultragrid in side an splitcontainer and I have set the  AutoFitStyle.ResizeAllColumns for all columns.

I have also set the  column.PerformAutoResize(PerformAutoSizeType.AllRowsInBand); for all columns.

Also,I have also set the Scrollbars activated.

But the grid tries to fit all the columns in the viewable area with no horizontal or vertical scrolling enabled.

Please advise.

Thanks,

K

  • 469350
    Verified Answer
    Offline posted

     Hi,

    If you don't want the grid to fit the columns within the viewable area, then don't set AutoFitStyle - becuase that's what the AutoFitStyle property does.