Interface CellValueComparator

interface CellValueComparator {
    comparator: ((a, b, options?) => number);
    defaultOptions?: any;
    type: string;
}

Properties

comparator: ((a, b, options?) => number)

Used for sorting callback. Equal values and null values are presorted and do not need to be handled in the comparator implementation

Type declaration

Remarks

the options are from the defaultOptions and the dataOptions provided for the given CellType.

defaultOptions?: any
type: string