API REFERENCE

SyGridSortChangedEventDetail

Fields, allowed values, and APIs that use SyGridSortChangedEventDetail.

Type definition

A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.

typescript
export interface SyGridSortChangedEventDetail {
  field: string | null;
  direction: 'asc' | 'desc' | null;
  previous: SyGridSortModelEntry | null;
  sortModel: SyGridSortModelEntry[];
  previousModel: SyGridSortModelEntry[];
}

Contracts containing this type