Export to Excel - Issue


Hi Team,

I am using paid version of Gantt Chart. In my project, we are using export excel feature provided by dhtmlx gantt.

To show priority in different color, I have used below configuration .
gantt.config.columns = [
{name:“priority”, label:“Priority”, align:“center”, width:70, template:function(obj){return “

";} } **

when I used export to excel feature, I am getting html content in the priority column. refer below image


kindly help me to show only content not the html content in excel .

Aravind L


Hello Aravind,
You need to use the columns parameter in the exportToExcel function and specify which columns you want to export. Then, Gantt will return the default values without HTML properties:
Here is an example: