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

Header template

Thread ID:





120529 Sep 23,2015 06:56 PM UTC Sep 24,2015 11:43 AM UTC JavaScript 1
Tags: ejTreeGrid
Rafael Delanhese
Asked On September 23, 2015 06:56 PM UTC


Is there any way to show a image instead of a text in the a column header? 

Note in this image that insted of a text a show some icons in column header.

I try simple putting an html in the header property of the column, but seems like that doing this I break the  column sort feature...

Column definition:
 { field: 'CoverPercentage1M', headerText: '<div style="display:inline-block;margin-right:3px" title="Has covers" class="circle-sprite circle-green">  </div>', editType: 'numericedit', allowFiltering: false, filterEditType: 'numericedit', isTemplateColumn: true, templateID: 'coverColumnTemplate', width: 55 }


John Rajaram [Syncfusion]
Replied On September 24, 2015 11:43 AM UTC

Hi Rafael,

Thanks for using Syncfusion products.

At present there is no support for customizing the column header’s content. For this we have already 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.


Please let us know if you require further assistance 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