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
500
How: Band (0) Full Width - Child Band (1) Manual Width
posted

Hi there!

I came here in my last resort.. I am trying to put my WinGrid with the band(0) full width screen, ok no problem, but my child band(1) width a manual width..

My problem is that both the bands have a full width, i want band(1) with a width different.

My Code @ Initialize Layout:

        ManifestoGrid.DisplayLayout.AutoFitStyle = Infragistics.Win.UltraWinGrid.AutoFitStyle.ResizeAllColumns

        ManifestoGrid.DisplayLayout.Override.AllowColSizing = Infragistics.Win.UltraWinGrid.AllowColSizing.Free

 

        e.Layout.Bands(1).Columns("Linha").Width = 30

        e.Layout.Bands(1).Columns("Linha Serv. Esp.").Width = 30

        e.Layout.Bands(1).Columns("Cod. Serv. Esp.").Width = 30

        e.Layout.Bands(1).Columns("Serv. Esp.").Width = 30

        e.Layout.Bands(1).Columns("Valor").Width = 30

Regards!