DayPilot.Kanban.barWidth

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.barWidth

Default Value

null

Examples

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

DayPilot.Kanban Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript