Merge 2 or more column headers

Hi

I am using SfDataGrid. I would like to merge 2 column headers. These 2 columns are GridTemplateColumns. 

For example, In the below mock screen, 'Column Header' is a common header for 2 columns.

Column1 Column2 Common Header ColumnN
1 A D G J
2 B E H K
3 C F I L

1 Reply

DM Dhanasekar Mohanraj Syncfusion Team August 25, 2022 05:06 PM UTC

Hi Swapnil Walwadkar,

SfDataGrid currently don't have support to merge the column headers. However, SfDataGrid supports to show the multiple column headers i.e. Stacked Headers where you can show the merged multiple column headers.

For more information related to Stacked Headers, please refer to the below user guide documentation link,

UG Link: https://help.syncfusion.com/wpf/datagrid/stacked-headers

Regards,
Dhanasekar M.


Loader.
Up arrow icon