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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Kanban Card

Thread ID:

Created:

Updated:

Platform:

Replies:

149342 Nov 21,2019 10:46 PM UTC Nov 23,2019 05:01 AM UTC Angular - EJ 2 1
loading
Tags: Card
Scott Wolfington
Asked On November 21, 2019 10:46 PM UTC

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.

Balasubramanian Sattanathan [Syncfusion]
Replied On 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 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon