ng2-qgrid
Version:
Angular Grid
27 lines (22 loc) • 828 B
TypeScript
import { SelectionModel } from './selection.model';
import { ColumnModel } from '../column-type/column.model';
import { CommandManager } from '../command/command.manager';
import { Command } from '../command/command';
import { Model } from '../infrastructure/model';
import { Table } from '../dom/table';
import { Td } from '../dom/td';
/**
* > Under Construction.
*/
export declare class SelectionView {
constructor(model: Model, table: Table, shortcut: { register: (commands: Command[]) => void });
readonly selection: SelectionModel;
readonly rows: any[];
readonly columns: ColumnModel[];
toggleRow: Command;
toggleCell: Command;
toggleColumn: Command;
selectRange(startCell: Td, endCell: Td, source?: string): void;
state(item: any): boolean;
isIndeterminate(item: any): boolean;
}