The visibleRangeChangedHandling property (string) sets the default action that is performed when the displayed month range changes in the Navigator.
DayPilot.Navigator.visibleRangeChangedHandling"Enabled" - performs the default action when the visible range changes.
"Disabled" - disables the default action when the visible range changes.
"PostBack" - performs a postback when the visible range changes (ASP.NET WebForms only).
"CallBack" - performs a callback when the visible range changes (ASP.NET WebForms, ASP.NET MVC, and Java versions only).
"JavaScript" - uses JavaScript handling for the visible range change.
"Enabled"This property is mainly relevant to the ASP.NET WebForms and ASP.NET MVC editions.
In the JavaScript and Java editions, onVisibleRangeChange and onVisibleRangeChanged are fired regardless of this setting.
JavaScript
const nav = new DayPilot.Navigator("dp", {
visibleRangeChangedHandling: "Disabled",
// ...
});
nav.init();Angular
<daypilot-navigator [config]="config"></daypilot-navigator>config: DayPilot.NavigatorConfig = {
visibleRangeChangedHandling: "Disabled",
// ...
};React
<DayPilotNavigator
visibleRangeChangedHandling="Disabled"
{/* ... */}
/>Vue
<DayPilotNavigator
visibleRangeChangedHandling="Disabled"
<!-- ... -->
/>DayPilot.Navigator.onVisibleRangeChange