Our flexible Kanban board for managing tasks with drag drop


Post by agarcia »

Hello,

We have a taskboard in our application, and we would need to add different colors to each swimlane headers depending on a backend service which will give us the background and font colors for each header.

I've been checking the docs, and I just found an option called 'color' that allows to change the background, but did not find any option for the font or custom style.

is there any way to apply this from 'native' Bryntum way? if so, We would appreciate an example of the code.

Regards


Post by tasnim »

Hi,

You could use https://bryntum.com/products/taskboard/docs/api/TaskBoard/view/TaskBoardBase#config-swimlaneRenderer to achieve this

    swimlaneRenderer({ swimlaneRecord, swimlaneConfig }) {
        swimlaneConfig.children.header.children.title.style = {
            color : 'red'
        };
    },

Warm regards,
Tasnim


Post by agarcia »

Thank you Tasnim,

I will try like this.

Regards


Post by ckdomestic »

Yes, as I know, by using the swimlaneRenderer method and modifying the swimlane configuration, you can apply custom styling to the swimlane headers in your TaskBoard view.

snake game


Post Reply