Widgets
Custom Kanban
1.0.0
Custom Kanban

Anwendungscode
let current := this;
let listFirmen := (select Firmen);
let listStates := (select Status_Leads);
let data := {
uniqueId: "Kanban individuell",
height: "600px",
collapsible: true,
swimlanes: listStates.[{
title: Titel,
recordId: number(Nr),
backgroundColor: text(color(Farbe)),
fontColor: "",
minWidth: "",
amount: let id := Nr;
cnt(listFirmen[number(Status) = number(id)]),
items: let id := Nr;
listFirmen[number(Status) = number(id)].[{
itemId: Nr,
fieldId: "D",
clickAction: false,
dragAction: true,
title: Name,
subtitle: "Kunden-Nr.:" + Nr,
value: arcCustomProgressBar({
uniqueId: "progress" + Nr,
title: "",
width: "100%",
fontSize: "",
fontColor: "",
backgroundColor: "",
progressColor: "",
valueTotal: stateTotal,
valueProgress: stateCurrent,
valueText: stateCurrent + "/" + stateTotal
})
}]
}]
};
arcCustomKanban(data)