@true-directive/base
Version:
The set of base classes for the TrueDirective Grid
54 lines (53 loc) • 1.6 kB
TypeScript
import { CellPosition } from './cell-position.class';
export declare class CancelableEvent {
private _isCanceled;
cancel(): void;
readonly isCanceled: boolean;
}
/**
* Закрытие всплывающего окна
* @param Результат работы всплывающего окна
*/
export declare class CloseEvent extends CancelableEvent {
result: any;
confirmed: boolean;
constructor(result: any);
}
export declare class CheckedChangedEvent {
target: 'row' | 'column';
row: any;
fieldName: string;
value?: boolean;
constructor(target: 'row' | 'column', row: any, fieldName: string, value?: boolean);
}
export declare class ValueChangedEvent {
row: any;
fieldName: string;
constructor(row: any, fieldName: string);
}
export declare class FilterShowEvent {
target: any;
filter: any;
constructor(target: any, filter: any);
}
export declare class RowDragEvent extends CancelableEvent {
rows: any[];
target: any;
position: string;
constructor(rows: any[], target: any, position: string);
}
export declare class RowClickEvent {
row: any;
originalEvent: MouseEvent;
constructor(row: any, originalEvent: MouseEvent);
}
export declare class CellClickEvent {
cell: CellPosition;
originalEvent: MouseEvent;
constructor(cell: CellPosition, originalEvent: MouseEvent);
}
export declare class ContextMenuEvent {
cell: CellPosition;
originalEvent: MouseEvent;
constructor(cell: CellPosition, originalEvent: MouseEvent);
}