The visibleRangeChangedHandling property (string) sets the default action that is performed when the displayed month range changes in the Navigator.
Declaration
DayPilot.Navigator.visibleRangeChangedHandlingPossible Values
"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.
Default Value
"Enabled"Notes
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.
Examples
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"
<!-- ... -->
/>See Also
DayPilot.Navigator.onVisibleRangeChange
DayPilot.Navigator.onVisibleRangeChanged
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot