DayPilot.Scheduler.rows.sortParam

The rows.sortParam property specifies the current sort order applied to rows. Read-only.

Available since 2020.1.4264.

Value

It returns an object with the following properties:

  • field (string) - holds the field name; null if no sorting is applied
  • order ("asc" | "desc") - the current sort direction

Example

var field = dp.rows.sortParam.field;