The columnWidthSpec property (string) sets the column width mode for the JavaScript Calendar component.
DayPilot.Calendar.columnWidthSpec"Auto" - adjusts the column width automatically so the available width is distributed among visible columns.
"Fixed" - uses the width specified by the DayPilot.Calendar.columnWidth property.
"Auto"JavaScript
const calendar = new DayPilot.Calendar("dp", {
columnWidthSpec: "Fixed",
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
columnWidthSpec: "Fixed",
// ...
};React
<DayPilotCalendar
columnWidthSpec="Fixed"
{/* ... */}
/>Vue
<DayPilotCalendar
columnWidthSpec="Fixed"
<!-- ... -->
/>Responsive Column Width [doc.daypilot.org]
Fixed Column Width [doc.daypilot.org]