Posted 27 February 2022, 7:52 am EST
Hello, all
Can someone point me to an example of unmerging cells in the specified range?
I cannot find a direct function to do it
Thank you
Arcady
Forums Home / ComponentOne / WinForms Edition
Posted by: arcady on 27 February 2022, 7:52 am EST
Posted 27 February 2022, 7:52 am EST
Hello, all
Can someone point me to an example of unmerging cells in the specified range?
I cannot find a direct function to do it
Thank you
Arcady
Posted 28 February 2022, 3:07 am EST
Hi,
When you allow the merging in the C1FlexGrid, the Grid merges the cells with the same values automatically and those cells cannot be split explicitly. If you want to split the Merged cells, you will need to set the AllowMerging property of the C1FlexGrid to AllowMergingEnum.Custom and handle the merging manually by using the MergedRanges property of the C1FlexGrid. Then, you can add/remove the CellRanges to merge/split the required cells. Kindly refer to the link below for more information on Custom merging.
Regards,
Kartik