DayPilot.Scheduler.rowHeaderWidthAutoFitShrink

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.rowHeaderWidthAutoFitShrink

Default Value

false

Notes

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]

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript