The syncResourceTree property (boolean) specifies whether the current resource tree state is sent to the server during CallBacks and PostBacks.
It only applies to ASP.NET WebForms, ASP.NET MVC, and Java versions.
Declaration
DayPilot.Scheduler.syncResourceTreeDefault Value
falseNotes
Enable this option when CallBacks or PostBacks need the current resource tree state.
Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
syncResourceTree: true,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
syncResourceTree: true,
// ...
};React
<DayPilotScheduler
syncResourceTree={true}
{/* ... */}
/>Vue
<DayPilotScheduler
:syncResourceTree="true"
<!-- ... -->
/>
DayPilot