The barWidth property (null | number) overrides the width of the bar displayed on the left side of Kanban cards (in pixels). If the value is null, the width will be set using the CSS theme.
Declaration
DayPilot.Kanban.barWidthDefault Value
nullExamples
JavaScript
const kanban = new DayPilot.Kanban("dp", {
barWidth: 10,
// ...
});
kanban.init();Angular
<daypilot-kanban [config]="config"></daypilot-kanban>config: DayPilot.KanbanConfig = {
barWidth: 10,
// ...
};React
<DayPilotKanban
barWidth={10}
{/* ... */}
/>Vue
<DayPilotKanban
:barWidth="10"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot