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.
Unfortunately, activation email could not send to your email. Please try again.

Header template

Thread ID:





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


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 07:43 AM

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.

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.