DayPilot.Scheduler.eventTextWrappingEnabled

The eventTextWrappingEnabled property (boolean) enables event text wrapping in the JavaScript Scheduler component.

Declaration

DayPilot.Scheduler.eventTextWrappingEnabled

Default Value

false

Notes

When eventTextWrappingEnabled is set to false, the Scheduler adds white-space: nowrap style to the event DOM element.

This value is also used when exporting the Scheduler to Excel.

Examples

JavaScript

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

Angular

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

React

<DayPilotScheduler
  eventTextWrappingEnabled={true}
  {/* ... */}
/>

Vue

<DayPilotScheduler
  :eventTextWrappingEnabled="true"
  <!-- ... -->
/>

See Also

Client-Side Excel Export [doc.daypilot.org]

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript