Hi,
I have a grid with 2 bands and I use Outlook grouping on the 1st band (parent band).
The columns of the 1st band should have a greater width than the columns of the 2nd band.(See the attached screenshot)
But when I rezize the columns of the 2nd band, the columns of the 1st band are also resized.
PerformAutoResizeColumns(grid.DisplayLayout.Bands[0]); // 1st band PerformAutoResizeColumns(grid.DisplayLayout.Bands[1]); // 2nd band
internal void PerformAutoResizeColumns(UltraGridBand band) { foreach (UltraGridColumn column in band.Columns) column.PerformAutoResize(PerformAutoSizeType.AllRowsInBand, true); }
Is this posible and when how?
Michael
Sorry, I tried it with rowsizing of the childband to Free or AutoFree.
But it doesn't work.
Set the rowsizing of the childband to Free or AutoFree:
grid.DisplayLayout.Bands[childBand].Override.RowSizing = RowSizing.AutoFree;