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
Yes. Set AllowColSizing (on the override) to Free.By default, the columns in each band are synchronized.