The cellMarginTop property (number) sets the top margin of a Kanban cell in pixels.
Declaration
DayPilot.Kanban.cellMarginTopDefault Value
5Notes
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:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot