The navigatorBackSync property (DayPilot.Navigator) specifies the Navigator object that will be notified about the Scheduler viewport start date during scrolling. The corresponding date is selected in the Navigator without calling its change event handlers.
DayPilot.Scheduler.navigatorBackSyncnullUse this property to keep a DayPilot.Navigator instance synchronized with the Scheduler viewport while the user scrolls.
JavaScript
const nav = new DayPilot.Navigator("nav");
// ...
nav.init();
const dp = new DayPilot.Scheduler("dp", {
navigatorBackSync: nav,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
navigatorBackSync: nav,
// ...
};React
<DayPilotScheduler
navigatorBackSync={nav}
{/* ... */}
/>Vue
<DayPilotScheduler
:navigatorBackSync="nav"
<!-- ... -->
/>