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
different column width in multiple bands
posted

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