DayPilot Knowledge Base

AJAX Calendar/Scheduling Controls
DayPilot Pro (AJAX Calendar Control)
» DayPilot AJAX Calendar
DayPilot Pro (AJAX Monthly Calendar Control)
» DayPilot AJAX Monthly Calendar
DayPilot Pro (AJAX Scheduler Control)
» DayPilot AJAX Scheduler
DayPilot » Knowledge Base » How to use DayPilot controls with custom database structure (schema)

How to use DayPilot controls with custom database structure (schema)

Last revision: Feb 18, 2010

DayPilot is designed to work with a custom database schema.

You should map the database fields to event properties using the following properties:

Mapping Custom Database Fields

Any number of custom fields can be mapped using the following property:

The custom fields will be passed with the event through all its lifecycle.

In the server-side event handlers (e.g. BeforeEventRender, EventClick) it's accessible as

In the client-side event handlers (e.g. EventClickJavaScript) it's accessible as

Related

How to make the Calendar events read-only
How to show an event calendar in ASP.NET MVC 3 Razor
How to show calendar events with custom background color in DayPilot Lite [open-source]
How to show one month per cell in Scheduler (CellDuration = Month)