search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Kanban Card Bar Color

Asked by Anonymous
2 days ago.

Is there any way to change the card bar color to that of the containing column after a card is moved?

We tried everything but can’t get the result.

Comment posted by Dan Letecky [DayPilot]
2 days ago.

Please wait for the onBeforeCardRender event, it will allow this scenario.

Comment posted by Anonymous
2 days ago.

Any idea when?

Answer posted by Dan Letecky [DayPilot]
1 day ago.

The onBeforeCardRender event is now available in the latest sandbox build (2025.2.6497).

You can change the bar color depending on the column like this:

onBeforeCardRender: args => {
    switch (args.data.column) {
        case "1":
            args.data.barColor = "#ea3624";
            break;
        case "2":
            args.data.barColor = "#1155CC";
            break;
        case "3":
            args.data.barColor = "#999";
            break;
        default:
            console.log("Unknown column: " + args.data.column);
            break;
    }
},
New Reply
This reply is
Attachments:
or drop files here
Your name (optional):