Open taauntik opened 2 months ago
Forum post
I am using column type template to add a link to "name" field.
It works fine for all columns but for name field when I change it to type template, then a new column is being added with just column.type = "name".
Is this some behaviour of Gantt to add back a name column?
Here is the code:
if (['name', 'createdby'].includes(column.field)) { column.type = 'template'; column.template = (data: any) => { return `<a class="tpg-gantt-link" href="javascript:;">${data.value}</a>` } }
Forum post
I am using column type template to add a link to "name" field.
It works fine for all columns but for name field when I change it to type template, then a new column is being added with just column.type = "name".
Is this some behaviour of Gantt to add back a name column?
Here is the code: