We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Kanban Card

Hi. When using the kanban control and setting the card template (cardSettings: { template: "#cardtemplate" }) to my template, the output that gets generated is wrapped in an outer DIV by the software. Is it possible to alter the color of the border of that added wrapper DIV from within the template itself? I want to allow a user to select a color for a card, and I want to show it by changing the color of the border. Thank you.

1 Reply

BS Balasubramanian Sattanathan Syncfusion Team November 23, 2019 05:01 AM UTC

Hi Scott Wolfington, 

Greetings from Syncfusion Support. 

We have achieved your requirement using queryCellInfo event like below code.  

queryCellInfo: function (args) { 
    args.card.style.borderColor = args.data.Color; 



Kindly try the above sample and let us know if you need any further assistance on this. 

Regards, 
Balasubramanian S 


Loader.
Live Chat Icon For mobile
Up arrow icon