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
2715
Different column width on child band
posted

Hi!

Is it possible to implement such behaviour ? I mean having a child band to with column widths bigger than the ones in the parent band columns ?

Thank you!

  • 20872
    Verified Answer
    Offline posted

    Hello Mismar,

    I think that you would need to allow the ColumnSizing in order to be able to have bigger columns in your child band. You could do so in the IntitializeLayout event of the UltraGrid control like:  

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

    After setting this property you are able to set the desired size of the Column through the code or in RunTime.

    Please let me know if you have any other questions with this matter.