DayPilot.Kanban.cellMarginTop

The cellMarginTop property (number) sets the top margin of a Kanban cell in pixels.

Declaration

DayPilot.Kanban.cellMarginTop

Default Value

5

Notes

Increase this value to add more vertical spacing above each cell.

Examples

JavaScript

const kanban = new DayPilot.Kanban("dp", {
  cellMarginTop: 10,
  // ...
});
kanban.init();

Angular

<daypilot-kanban [config]="config"></daypilot-kanban>
config: DayPilot.KanbanConfig = {
  cellMarginTop: 10,
  // ...
};

React

<DayPilotKanban
  cellMarginTop={10}
  {/* ... */}
/>

Vue

<DayPilotKanban
  :cellMarginTop="10"
  <!-- ... -->
/>

See Also

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript