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

Column Header Template

Thread ID:





118646 Mar 27,2015 04:02 PM UTC Mar 30,2015 01:04 PM UTC ASP.NET MVC 1
Tags: TreeGrid
Andrea Perazzolo
Asked On March 27, 2015 04:02 PM UTC

I will ask if there is a way to customize a Column Header like Wrapping Text and centering the text?

    Thanks in advance

    Andrea Perazzolo

John Rajaram [Syncfusion]
Replied On March 30, 2015 01:04 PM UTC

Hi Andrea,

Thanks for using Syncfusion products.

We would like to let you know that, currently there is no support for customizing column header of TreeGrid. Hence we have logged a feature request regarding this.

A support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.


But at present by workaround we can center align the header text of the column by modifying it’s CSS using the following code snippets.

Code snippet:





.e-headercelldiv {

text-align: center !important;




<body style="position: static; margin: 0px; padding: 2px">








We have also prepared a sample based on this and you can find the sample under the following location:

Sample: http://www.syncfusion.com/downloads/support/forum/118646/TreeGridSampleMVC425913212.zip

Please let us know if you need more information on this.

John. R


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

This page will automatically be redirected to the 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