UNPKG

ka-table

Version:

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

35 lines (34 loc) 1.43 kB
/// <reference types="react" /> import { SortDirection, SortingMode } from '../enums'; import { Column } from '../Models/Column'; export declare const getHeadCellClassName: (sortingMode: SortingMode, isGrouped?: boolean) => string; export declare const getUpdatedSortedColumns: (columns: Column[], columnKey: string, sortingMode: SortingMode) => { colGroup?: import("react").ColHTMLAttributes<HTMLElement>; dataType?: import("../enums").DataType; field?: string; filter?: (value: any, filterValue: any, rowData?: any) => boolean; filterRowOperator?: any; filterRowValue?: any; headerFilterListItems?: (props: { data?: any[]; }) => string[]; headerFilterPopupPosition?: import("../Models/PopupPosition").PopupPosition; headerFilterSearch?: (value: any, searchValue: any, rowData?: any) => boolean; headerFilterSearchValue?: any; headerFilterValues?: string[]; isDraggable?: boolean; isEditable?: boolean; isFilterable?: boolean; isHeaderFilterPopupShown?: boolean; isHeaderFilterSearchable?: boolean; isResizable?: boolean; isSortable?: boolean; key: string; sortDirection?: SortDirection; sortIndex?: number; style?: import("react").CSSProperties; title?: string; visible?: boolean; width?: string | number; }[]; export declare const getNextSortDirection: (previousSortdirection?: SortDirection) => SortDirection;