SchedulerDataRequestEvent

Fired before data is requested from the data source. Provides the requested date range, optional promise, cancel flag, and result.

Props

The following table outlines the props for the SchedulerDataRequestEvent:

NameTypeDefaultDescription
cancel
boolean
-

Set to true to cancel the data request operation.

endDate
Date
-

The end date of the requested data range. Useful for server-side filtering or async data fetching.

resourceEndIndex
number
undefined

Inclusive end index of the requested bucket. A next bucket may be prefetched near the current window boundary.

resourceStartIndex
number
undefined

Inclusive start index of the requested 50-row bucket in the flattened timeline resource rows, including parent rows.

result
Record<string, any>
-

Raw records returned by the data source (before field mapping).

startDate
Date
-

The start date of the requested data range. Useful for server-side filtering or async data fetching.