The treeIndent property (number) sets the left indent of child task nodes in pixels.
Declaration
DayPilot.Gantt.treeIndentDefault Value
20Examples
JavaScript
const gantt = new DayPilot.Gantt("dp", {
treeIndent: 30,
// ...
});
gantt.init();Angular
<daypilot-gantt [config]="config"></daypilot-gantt>config: DayPilot.GanttConfig = {
treeIndent: 30,
// ...
};React
<DayPilotGantt
treeIndent={30}
{/* ... */}
/>Vue
<DayPilotGantt
:treeIndent="30"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot