SortConfig


Configuration for sorting data by a specific attribute

Properties

direction

direction: "asc" | "desc"

The direction to sort in


attribute

attribute: string

The attribute to sort by. What this represents depends on the context. For instance, when sorting features in a data table, the attribute is the column to sort by.

Last updated

Was this helpful?