@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    Type Alias SortExpression<T>

    SortExpression: { columnKey: keyof T; direction: SortDirection }[]

    An ordered list of sort criteria applied to a datasource.

    The first entry is the primary sort; subsequent entries act as tie-breakers.

    Type Parameters

    • T

      The row object type.

    Type Declaration

    • columnKey: keyof T

      The property of T to sort by.

    • direction: SortDirection

      Whether to sort ascending or descending.