UNPKG

ka-table

Version:

The customizable, extendable, lightweight, and fully free React Table Component

10 lines (9 loc) 614 B
import { SortingMode } from '../enums'; import { Column } from '../Models/Column'; import { SortFunc } from '../types'; export declare const sortColumns: (columns: Column[]) => Column<any>[]; export declare const sortData: (columns: Column[], data: any, sort?: SortFunc) => any[]; export declare const isTripleStateSorting: (sortingMode: SortingMode) => boolean; export declare const isMultipleSorting: (sortingMode: SortingMode) => boolean; export declare const isRemoteSorting: (sortingMode: SortingMode) => boolean; export declare const isSortingEnabled: (sortingMode: SortingMode, column?: Column) => boolean;