ka-table
Version:
The customizable, extendable, lightweight, and fully free React Table Component
12 lines (11 loc) • 1.07 kB
TypeScript
import { EditingMode } from '../enums';
import { Column, EditableCell } from '../models';
import { DispatchFunc } from '../types';
export declare const getNewRowEditableCells: (editableCells: EditableCell[]) => EditableCell[];
export declare const getNewRowDataFromEditableCells: (editableCells: EditableCell[], columns: Column[]) => {};
export declare const isEditableCell: (editingMode: EditingMode, column: Column, rowEditableCells: EditableCell[]) => boolean;
export declare const getEditableCell: (column: Column, rowEditableCells: EditableCell[]) => EditableCell | undefined;
export declare const addItemToEditableCells: (item: EditableCell, editableCells: EditableCell[]) => EditableCell[];
export declare const getCellEditorDispatchHandler: (dispatch: DispatchFunc) => (action: any) => void;
export declare const removeItemFromEditableCells: (item: EditableCell, editableCells: EditableCell[]) => EditableCell[];
export declare const checkPopupPosition: (column: Column, refToElement: React.MutableRefObject<HTMLDivElement | null>, dispatch: DispatchFunc) => void;