The treeImageMarginLeft property (number) sets the left margin of the task tree node image in pixels.
Declaration
DayPilot.Gantt.treeImageMarginLeftDefault Value
2Examples
JavaScript
const gantt = new DayPilot.Gantt("dp", {
treeImageMarginLeft: 5,
// ...
});
gantt.init();Angular
<daypilot-gantt [config]="config"></daypilot-gantt>config: DayPilot.GanttConfig = {
treeImageMarginLeft: 5,
// ...
};React
<DayPilotGantt
treeImageMarginLeft={5}
{/* ... */}
/>Vue
<DayPilotGantt
:treeImageMarginLeft="5"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot