Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
145553 | Jun 27,2019 06:59 PM UTC | Jul 1,2019 12:54 PM UTC | WinForms | 3 |
![]() |
Tags: GridGroupingControl |
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
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.
This page will automatically be redirected to the sign-in page in 10 seconds.