FlexGrid for WinForms
Merged Data Views
Show AllShow All
Hide AllHide All

Cell merging works the same way when the grid is bound to a data source. The code below shows an example for a grid bound to a data source at design time. For more information on binding to a data source, see Binding to a Data Source.

To write code in Visual Basic

To write code in C#

This is the result:


Notice how merging the cells has the effect of visually grouping the data and making the information on the table easier to understand.

Note: For an example of displaying merged data views with C1FlexGrid, see the CellMerging sample on ComponentOne HelpCentral.
See Also

 

 


Copyright © GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback