ng2-qgrid
Version:
Angular Grid
30 lines (23 loc) • 866 B
TypeScript
import { Model } from '../infrastructure/model';
import { PipeContext, PipeMemo } from '../pipe/pipe.item';
import { PersistenceService } from '../persistence/persistence.service';
/**
* > Under Construction.
*/
export declare class GridService {
constructor(model: Model);
state: PersistenceService;
invalidate(
source?: string,
changes?: { [key: string]: { newValue: any, oldValue: any } },
pipe?: ((memo: any, context: PipeContext, next: (param: PipeMemo) => void) => any)[]
): Promise<void>;
invalidate(settings: {
source?: string,
changes?: { [key: string]: { newValue: any, oldValue: any } },
pipe?: ((memo: any, context: PipeContext, next: (param: PipeMemo) => void) => any)[],
why?: 'redraw' | 'refresh'
}): Promise<void>;
busy(): () => void;
focus(rowIndex?: number, columnIndex?: number): void;
}