apex-grid
    Preparing search index...

    Interface BaseSortExpression<T, K>

    Represents a sort operation for a given column.

    interface BaseSortExpression<T, K extends Keys<T> = Keys<T>> {
        caseSensitive?: boolean;
        comparer?: SortComparer<T, K>;
        direction: SortingDirection;
        key: K;
    }

    Type Parameters

    Index

    Properties

    caseSensitive?: boolean

    Whether the sort operation should be case sensitive.

    If not provided, the value is resolved based on the column sort configuration (if any).

    comparer?: SortComparer<T, K>

    Custom comparer function for this operation.

    If not provided, the value is resolved based on the column sort configuration (if any).

    direction: SortingDirection

    Sort direction for this operation.

    key: K

    The target column.