es-grid-template
Version:
es-grid-template
17 lines (16 loc) • 729 B
TypeScript
import React from 'react';
import type { ColumnsTable, GridTableProps } from "../type";
import type { GetRowKey } from "../type";
type Props<T> = GridTableProps<T> & {
tableRef: any;
triggerChangeColumns?: (columns: ColumnsTable<T>, type: string) => void;
triggerChangeData?: (newData: T[], type: string) => void;
getRowKey: GetRowKey<T>;
triggerGroupColumns?: (groupedColumns: string[]) => void;
triggerPaste?: (pastedRows: T[], pastedColumnsArray: string[], newData: T[]) => void;
triggerFilter?: (queries: any) => void;
setTooltipContent?: any;
scrollHeight?: number;
};
declare const Group: <RecordType extends object>(props: Props<RecordType>) => React.JSX.Element;
export default Group;