DayPilot.Scheduler.rowHeaderWidthAutoFit

The rowHeaderWidthAutoFit property (boolean) enables automatic adjustment of row header column width to fit the content in the JavaScript Scheduler component.

Declaration

DayPilot.Scheduler.rowHeaderWidthAutoFit

Default Value

true

Notes

When enabled, the component measures the row header content and adjusts the width automatically.

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  rowHeaderWidthAutoFit: false,
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  rowHeaderWidthAutoFit: false,
  // ...
};

React

<DayPilotScheduler
  rowHeaderWidthAutoFit={false}
  {/* ... */}
/>

Vue

<DayPilotScheduler
  :rowHeaderWidthAutoFit="false"
  <!-- ... -->
/>

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