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
close icon

Columns and SubColumns

Hello,

Is it possible to have columns and subcolumns in a GridControl like on the attachment ?

Regards,


gridControl and subcolumns_e6e81d89.zip

1 Reply

AK Arun Kumar V Syncfusion Team August 30, 2012 12:19 PM UTC

Hi Paul,

The header count property can be used to have multiple headers in gridcontrol.  
Ex Syntax: 
            gridControl1.Model.Rows.HeaderCount = 1;
            gridControl1.Model.Cols.HeaderCount = 1;

The Covered ranges property is used for selection of multiple headers.
Ex Syntax:
gridControl1.Model.CoveredRanges.Add(GridRangeInfo.Cells(StartRow, Start Col, End Row, EndCol));

Regards,
Arun Kumar V


Loader.
Live Chat Icon For mobile
Up arrow icon