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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Merging column headers in an SfDataGrid

Thread ID:





126115 Oct 13,2015 04:35 PM UTC Aug 24,2018 10:37 AM UTC Xamarin.iOS 5
Tags: SfDataGrid
Cameron Flores
Asked On October 13, 2015 04:35 PM UTC


I'm trying to merge some of the header cells in an SfDataGrid control.  Please see the below mockup which demonstrates what I'm trying to do (specifically "Column 3").  Is this possible?  Thanks.

Ayyanar Sasi Kumar Jeyaraj [Syncfusion]
Replied On October 14, 2015 02:32 PM UTC

Hi Cameron,
Thank you for contacting Syncfusion support.
We have analyzed your query and you can achieve your requirement by using StackedHeaders in SfDataGrid to merge the column headers as you mentioned in the snapshot.
Please refer the below code example to create the StackedHeaders in SfDataGrid


                <Syncfusion:GridTextColumn MappingName="name"/>

                <Syncfusion:GridTextColumn MappingName="A"/>

                <Syncfusion:GridTextColumn MappingName="B"/>

                <Syncfusion:GridTextColumn MappingName="C"/>

                <Syncfusion:GridTextColumn MappingName="D"/>

                <Syncfusion:GridTextColumn MappingName="E"/>

                <Syncfusion:GridTextColumn MappingName="F"/>

                <Syncfusion:GridTextColumn MappingName="G"/>





                        <Syncfusion:StackedColumn  ChildColumns="D,E,F" HeaderText="Columns"></Syncfusion:StackedColumn>




We have prepared the sample based on your requirement and please find the sample from the following location:
Please let us know if you have any query.

Kevin Bernard San Gaspar
Replied On September 23, 2016 10:59 AM UTC


Is this feature in Xamarin.iOS as well?

Ashok N [Syncfusion]
Replied On September 26, 2016 04:33 AM UTC

Hi Kevin, 
Currently we don’t have support for “StackedHeaders” in our SfDataGrid (Xamarin platform). A support incident to track the status of this feature has been created under your account. Please log on to our support website to check for further updates: 

Chonlada Yoisang
Replied On August 23, 2018 07:53 AM UTC


Is this feature in Xamarin now? if not, do you have any suggest to make it work like that?


Arulraj A [Syncfusion]
Replied On August 24, 2018 10:37 AM UTC

Hi Chonlada,   
Thanks for contacting Syncfusion support.   
We are sorry to let you know that currently we do not have support to merge column headers. We have already considered the “Provide support for StackedHeader in SfDataGrid” as feature and added it to our feature request list. It will be available in any of our upcoming releases and it can be tracked through our Features Management System in the support ticket 213385. 
Please let us know if you require further assistance.   
Arulraj A 


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon