The treeIndent property (number) sets the left indent, in pixels, applied to child resource rows in the JavaScript Scheduler component.
Available in DayPilot Lite for JavaScript since version 2026.4.899.
Declaration
DayPilot.Scheduler.treeIndentDefault Value
20The indent is applied for each nesting level when treeEnabled is true. These examples assume an existing resource tree.
Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
treeEnabled: true,
treeIndent: 30,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
treeEnabled: true,
treeIndent: 30,
// ...
};React
<DayPilotScheduler
treeEnabled={true}
treeIndent={30}
/>Vue
<DayPilotScheduler
:treeEnabled="true"
:treeIndent="30"
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot