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.treeIndent

Default Value

20

The 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

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

ProductLitePro
DayPilot for JavaScript