DayPilot.Scheduler.rowSortingMode

The rowSortingMode property (string) specifies which types of tree nodes are sorted when sorting rows using one of the row header columns in the JavaScript Scheduler.

Available since 2020.1.4246.

Declaration

DayPilot.Scheduler.rowSortingMode

Possible Values

  • "LeavesOnly" - if all sibling nodes are leaf nodes, they will be sorted.

  • "ParentsOnly" - if all sibling nodes are parent nodes, they will be sorted.

  • "All" - sorts nodes at every level. Available since 2024.3.6155.

Default Value

"LeavesOnly"

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  rowSortingMode: "All",
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  rowSortingMode: "All",
  // ...
};

React

<DayPilotScheduler
  rowSortingMode="All"
  {/* ... */}
/>

Vue

<DayPilotScheduler
  rowSortingMode="All"
  <!-- ... -->
/>

See Also

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript