Hi,
Can I change color appearing in edit popup.
I have different color for each task i want it to take task color
related image
Hi,
You could use https://bryntum.com/products/gantt/docs/api/Gantt/feature/TaskEdit#event-beforeTaskEdit and add style to the tbar
Here is an example
beforeTaskEdit (event) {
console.log(event);
const { taskElement, taskEdit : { editor } } = event;
const color = getComputedStyle(taskElement).backgroundColor;
editor.headerElement.style.backgroundColor = color;
}