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
4695
Merge the cell in ultragrid
posted

Dear all,

I have the ultragrid with fields :  How can I group by ProductName and Sold Qty with merging the Cells.

ProductName  Sold Qty Return Qty
ABC 50 1
ABC 50 3
ABC 50 2

I want to be this:

ProductName  Sold Qty Return Qty
ABC 50 1
3
2

Parents
  • 469350
    Offline posted


            private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
            {
                UltraGridLayout layout = e.Layout;
                UltraGridOverride ov = layout.Override;

                ov.MergedCellStyle = MergedCellStyle.OnlyWhenSorted;
                ov.MergedCellAppearance.TextVAlign = VAlign.Top;
            }

Reply Children