getColors

returns the set of colored states defined for Kanban cards

DataCollection getColors();
DataCollectiona data collection with colors and corresponding states

Example

var colors = $$("board").getColors();
colors.add({value:"Urgent", color:"red"});

See also
Back to top