The cellWidth property (number or string) specifies the width of the Navigator date picker cells in pixels. Instead of a number value, you can use "Auto" to switch the date picker to a responsive mode where it fills the available width.
Declaration
DayPilot.Navigator.cellWidthDefault Value
30Examples
JavaScript
const dp = new DayPilot.Navigator("dp", {
cellWidth: "Auto",
// ...
});
dp.init();Angular
<daypilot-navigator [config]="config"></daypilot-navigator>config: DayPilot.NavigatorConfig = {
cellWidth: "Auto",
// ...
};React
<DayPilotNavigator
cellWidth="Auto"
{/* ... */}
/>Vue
<DayPilotNavigator
cellWidth="Auto"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot