We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Merge two specific columns in nested table

Hi,

There is a GCC and there are two tables called 'Forms'(parent) and 'Tabs'(child).
I need to merge two columns inside tabs table.
How i can resolve this?

Thanks & Regards,
Sumudu Ekanayake

1 Reply

NK Neelakandan Kannan Syncfusion Team August 15, 2016 04:41 AM UTC

Hi Sumudu, 

Thanks for using Syncfusion products. 

If you want to set the merge cells for the child table, you can use the GetTableModel method to get the child table and CoveredRanges property can be used to add the merge cells. 

Code Snippet 
GridTableModel childTableModel = this.gridGroupingControl1.GetTableModel("Orders"); 
childTableModel.CoveredRanges.Add(GridRangeInfo.Cells(2, 1, childTableModel.RowCount, 2)); 
 
Screenshot 
 
 
 
Sample link 
 
UG link 
 
To know more about the Merge cells, please refer this, 
 
Regards, 
Neelakandan 

 
 


Loader.
Live Chat Icon For mobile
Up arrow icon