Our Kanban Task Board for easy management of tasks and agile workflows


Post by b.wust »

Hi Bryntum Team,

I have a Question About the Kanban and Event Colors. We Need for Events sometimes a different Border Color.

I tried a lot of stuff with the taskRenderer. But all i got working was changing the Background Color.

What do i have to do for changing the Border Color ?
        taskRenderer : function (task, renderData) {
        	renderData.style = 'background:' + task.data.bgColor + ';';
	}
kanban1.png
kanban1.png (28.93 KiB) Viewed 2684 times

Post by Maxim Gorkovsky »

Hello.
You need to set border-left-color:
taskRenderer : function (task, renderData) {
            if (task.getId() === 1) {
                renderData.style = 'border-left-color: red'
            }
        }
        

Post Reply