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 and remerge

Hello,
I'm able to merge cells in a table, but how can I remerge them?

Example
I build a table with 4 cols.
In the second row I merge col 2 and 3 to one cell.
In the third row I need again the 4 cols.

2 Replies

PE Priyanga Elangovan Syncfusion Team June 16, 2016 07:19 AM UTC

Hi Bodo

Thank you for contacting Syncfusion support

DocIO does not have any specific API for remerging of the vertically/horizontally merged cells. You can achieve your requirement by setting the WTableCell.CellFormat.HorizontalMerge and WTableCell.CellFormat.VerticalMerge as CellMerge.None if the cell has WTableCell.CellFormat.HorizontalMerge and WTableCell.CellFormat.VerticalMerge as CellMerge.Start or CellMerge.Continue.
We have prepared a demo sample to illustrate your requirement. Please find the sample from below link and let us know if it helps.

Sample link:
http://www.syncfusion.com/downloads/support/forum/124565/ze/GenerateWord_Windows13270176.zip

Regards,
Priyanga.E
 



BJ Bodo Jäger June 16, 2016 07:45 AM UTC

Thanks. It works.

Loader.
Up arrow icon