The eventTextWrappingEnabled property (boolean) enables event text wrapping in the JavaScript Scheduler component.
Declaration
DayPilot.Scheduler.eventTextWrappingEnabledDefault Value
falseNotes
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]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot