Skip to content

Kitto.Web.Handler.Calendar

Attribute-routed handler for calendar data requests. Returns a JSON array of events (FullCalendar format) for CalendarPanel controllers, optionally filtered by the visible date range.

TKXCalendarHandler class

Serves the calendar-data endpoint for a data view configured with a CalendarPanel controller.

pascal
procedure HandleCalendarData( [TKXPathParam('ViewName')] const AViewName: string;

Loads the view's records (filtered to the start/end date range when both query params are supplied) and returns them as a JSON array of calendar events with id, title, start/end, color and key metadata.

Released under Apache License, Version 2.0.