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
470
Column sizing with multiple bands
posted

Hi,

I have a grid with 2 bands and want the columns to autosize based on all cells

Grid.DisplayLayout.Bands(BandName).PerformAutoResizeColumns(False, UltraWinGrid.PerformAutoSizeType.AllRowsInBand)

This works as expected but when I do this on the second band the resize may then reduce the size of the first band..

In the image above, resize has sized band(0) as expected but when I add code to resize band(1), band (0) is squashed to fit band(1) columns (ie PUR6 is actaually PUR0000001 etc).

Is there something to stop other bands being resized?

Thanks

Parents
No Data
Reply Children
No Data