GridGroupControl column header

Hi,

Can I add an extra column header above the normal header that covers several columns? Eg: I want a header with the text "Personal data" above the columns with the headers "Name", "Birthdate".

Thanx,
Bart

1 Reply

GB Gokul B Syncfusion Team November 23, 2006 02:08 PM UTC

Hi Bart,

For your Kind notification, our GridGroupingControl has the support of MultiRowColumn header. So please have a look at our MulitRowEmployeeRecords sample which ships with our Essential studion Install. You can see this sample under {InstalledLocation}\Web\grid.grouping.web\Samples\2.0\MultiRowRecords. However see the below code snippet to achieve the behvaiour as you expected.

$Columnsets>
$sfwg:GridColumnSetDescriptor Name="PersonalDataInfo">
$ColumnSpans>
$sfwg:GridColumnSpanDescriptor Range="R0C0:R0C1" Name="PersonalData">$/sfwg:GridColumnSpanDescriptor>
$sfwg:GridColumnSpanDescriptor Range="R1C0" Name="Name">$/sfwg:GridColumnSpanDescriptor>
$sfwg:GridColumnSpanDescriptor Range="R1C1" Name="BirthDate">$/sfwg:GridColumnSpanDescriptor>
$/ColumnSpans>
$/sfwg:GridColumnSetDescriptor>
$/Columnsets>

Let us know if you need any other assist.

Thanks for using our Syncfusion products.

regards,
B.Gokulkumar

Loader.
Up arrow icon