import { DataEvents, DragEvents, DropBehaviour, IDataEventsHandlersMap, IDragEventsHandlersMap } from "../../ts-data"; import { GridEvents, IEventHandlersMap, IExtendedGrid, IExtendedGridConfig } from "../../ts-grid"; import { IEventSystem } from "../../ts-common/events"; import { Id } from "../../ts-common/types"; import { TreeGridCollection } from "./TreeGridCollection"; export interface ITreeGridConfig extends IExtendedGridConfig { type?: "tree"; rootParent?: Id; collapsed?: boolean; dragExpand?: boolean; dropBehaviour?: DropBehaviour; } export interface ITreeGrid extends IExtendedGrid { events: IEventSystem; config: ITreeGridConfig; data: TreeGridCollection; }