BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
I have a GGC with merge cells, when the form charge, everythong looks good, but when scroll through the cells are not merge, send you a image the first is when the form charge, the second when scroll, |
The reported use case will be occurred the MergeCellsLayout of the grid is set to VisibleRange. In order to apply the merging for entire grid, the MergeCellsLayout property should be set to Grid. Please refer to the below code,
Code example
| |
i have other question, how can I have a entire row of the merge cell with one color and intercale with the other, |
In order to change the backcolor of the cells based on condition, the GridConditionalFormatting can be used. Please refer to the below UG to customize the grid cells back color based on your requirements.
UG link: https://help.syncfusion.com/windowsforms/gridgrouping/conditional-formatting#dynamic-formatting
|
Hi Ricardo,Thanks for contacting Syncfusion support.
I have a GGC with merge cells, when the form charge, everythong looks good, but when scroll through the cells are not merge, send you a image the first is when the form charge, the second when scroll, The reported use case will be occurred the MergeCellsLayout of the grid is set to VisibleRange. In order to apply the merging for entire grid, the MergeCellsLayout property should be set to Grid. Please refer to the below code,Code example
this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.MergeCell = GridMergeCellDirection.Both;// Set merge cells behavior for the Gridthis.gridGroupingControl1.TableModel.Options.MergeCellsMode = GridMergeCellsMode.OnDemandCalculation | GridMergeCellsMode.MergeColumnsInRow;//Merge the cells in entire grid.this.gridGroupingControl1.TableModel.Options.MergeCellsLayout = GridMergeCellsLayout.Grid; i have other question, how can I have a entire row of the merge cell with one color and intercale with the other, In order to change the backcolor of the cells based on condition, the GridConditionalFormatting can be used. Please refer to the below UG to customize the grid cells back color based on your requirements.UG link: https://help.syncfusion.com/windowsforms/gridgrouping/conditional-formatting#dynamic-formattingPlease revert us, if you need further assistance.Regards,Jagadeesan