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
740
Merge only one column
posted

as I can do to make the effect "MERGE" in one column or two columns, but not all the columns in the grid

thanks

Parents
  • 71886
    Verified Answer
    Offline posted

    Hello Carlos,

    Yes, this is possible.

    You could hook to the InitializeLayout event of the WinGrid and choose the merge style for a particular column, like this:

            private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
            {
                e.Layout.Bands[0].Columns[1].MergedCellStyle = Infragistics.Win.UltraWinGrid.MergedCellStyle.Always;            
            }
    

     

    Please do not hesitate to contact me if you need any additional assistance.

Reply Children
No Data