DayPilot.Scheduler.rowCreateText

The rowCreateText property (string) specifies the text used as a placeholder in the new row input.

Available since 2021.3.5023.

Declaration

DayPilot.Scheduler.rowCreateText

Default Value

"New row..."

Notes

  • The placeholder text is HTML-encoded before rendering to help prevent XSS attacks.

  • Use the DayPilot.Scheduler.rowCreateHtml property if you need to display raw HTML instead of plain text.

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  rowCreateText: "New resource...",
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  rowCreateText: "New resource...",
  // ...
};

React

<DayPilotScheduler
  rowCreateText="New resource..."
  {/* ... */}
/>

Vue

<DayPilotScheduler
  rowCreateText="New resource..."
  <!-- ... -->
/>

See Also

Row Creating [doc.daypilot.org]

DayPilot.Scheduler.rowCreateHtml

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript