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
2715
UltraWinGrid auto-resize
posted

Hi!

I have the following grid

As you can see, there is a lot of white space. So i would like to resize the form and grid automatically so that the white space dissapears.

How can i do this ?

Thanks !

Parents
  • 2732
    Offline posted

    Hey,

    You can do this with the following property:

    UltraGrid1.DisplayLayout.AutoFitStyle

    Options:
    Infragistics.Win.UltraWinGrid.AutoFitStyle.ExtendLastColumn: Extends the last column to fill the white space.
    Or Infragistics.Win.UltraWinGrid.AutoFitStyle.ResizeAllColumns: Extends all columns equally to fill the white space.

    Kind regards,

    Michael 

Reply Children