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.
Unfortunately, activation email could not send to your email. Please try again.

Merge two specific columns in nested table

Thread ID:

Created:

Updated:

Platform:

Replies:

125390 Aug 12,2016 05:13 AM Aug 15,2016 12:41 AM Windows Forms 1
loading
Tags: GridGroupingControl
sumudu
Asked On August 12, 2016 05:13 AM

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

Neelakandan Kannan [Syncfusion]
Replied On August 15, 2016 12:41 AM

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 

 
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;