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.
DayPilot.Scheduler.rowSortingMode"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.
"LeavesOnly"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"
<!-- ... -->
/>