Our state of the art Gantt chart


Post by mmelcot »

Is there a way to define a custom template for the Gantt tasks?

In legacy `ExtGantt` there was `taskBodyTemplate`, but I can find such capability in the `Gantt` documentation.

Post by mats »

We don't have the exact same concept, but you can output any HTML / text output to the renderer. See basic demo for usage:
taskRenderer({ taskRecord }) {
        if (taskRecord.isLeaf && !taskRecord.isMilestone) {
            return taskRecord.name;
        }
    }

Post by mmelcot »

thanks mats!

Post Reply