SortDescription

Description

A SortDescription is an interface that exposes properties to allow the description of sorts on the grid’s data. A SortDescription is meant to be used in conjunction with a DataProvider.

Properties

Property

Type

Description

field

string

The field on which data is sorted.

direction

SortDirection

Ascending if the data is sorted in ascending order, otherwise Descending.

comparer?

Comparer<unknown>

The Comparer used to sort the data.