The rowHeaderWidthAutoFitShrink property (boolean) specifies whether the JavaScript Scheduler component should shrink the row header width during row header width auto-fit.
Declaration
DayPilot.Scheduler.rowHeaderWidthAutoFitShrinkDefault Value
falseNotes
By default, this option is disabled and the initial width is only extended to match the content.
Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
rowHeaderWidthAutoFitShrink: true,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
rowHeaderWidthAutoFitShrink: true,
// ...
};React
<DayPilotScheduler
rowHeaderWidthAutoFitShrink={true}
{/* ... */}
/>Vue
<DayPilotScheduler
:rowHeaderWidthAutoFitShrink="true"
<!-- ... -->
/>See Also
Row Header Width Auto-Fit [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot