mthb-canvas-table
Version:
9 lines (8 loc) • 828 B
TypeScript
import { ICanvasTableColumnConf } from "./CanvasTableColum";
import { CanvasTableRowItem } from "./CustomCanvasIndex";
import { CustomCanvasTable } from "./CustomCanvasTable";
import { ScrollView } from "./ScrollView";
export declare type EventManagerClick<T> = (customCanvasTable: CustomCanvasTable, row: CanvasTableRowItem, col: ICanvasTableColumnConf<T> | null) => void;
export declare type EventManagerClickHeader<T> = (customCanvasTable: CustomCanvasTable, col: ICanvasTableColumnConf<T> | null) => void;
export declare type EventManagerReCalcForScrollView = (customCanvasTable: CustomCanvasTable, width: number, height: number, scrollView: ScrollView) => void;
export declare type EventManagerEdit = (customCanvasTable: CustomCanvasTable, row: CanvasTableRowItem, col: string, newData: any, oldData: any) => void;