DayPilot.Gantt.treeImageMarginTop

The treeImageMarginTop property (number) sets the top margin of the task tree node image in pixels.

Declaration

DayPilot.Gantt.treeImageMarginTop

Default Value

2

Examples

JavaScript

const gantt = new DayPilot.Gantt("dp", {
  treeImageMarginTop: 5,
  // ...
});
gantt.init();

Angular

<daypilot-gantt [config]="config"></daypilot-gantt>
config: DayPilot.GanttConfig = {
  treeImageMarginTop: 5,
  // ...
};

React

<DayPilotGantt
  treeImageMarginTop={5}
  {/* ... */}
/>

Vue

<DayPilotGantt
  :treeImageMarginTop="5"
  <!-- ... -->
/>

See Also

DayPilot.Gantt Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript