DayPilot.Scheduler.rows.sortParam

The rows.sortParam property returns the current sort order applied to rows. This property is read-only.

Available since 2020.1.4264.

Declaration

DayPilot.Scheduler.rows.sortParam

Value

It returns an object with the following properties:

  • field (string) holds the field name. It is null if no sorting is applied.

  • order ("asc" | "desc") specifies the current sort direction.

Example

const field = dp.rows.sortParam.field;