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
555
Padding for the first column of Grids with multiple levels
posted

Hi,

For grids with several levels of data the first column is padded so the other columns are aligned, my question is if it would be possible to increase the padding of each level depending of the bands that are expanded.

Thanks

  • 71886
    Offline posted

    Hello jcmarq,

    Could you please try to achieve this with the following code:

            private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
            {
                e.Layout.Override.AllowColSizing = Infragistics.Win.UltraWinGrid.AllowColSizing.Free; 
            }
    

      

    Please feel free to let me know if I misunderstood you or if you have any other questions.