UNPKG

ng2-qgrid

Version:
25 lines (24 loc) 1.19 kB
import { ElementRef, OnInit, NgZone, ChangeDetectorRef } from '@angular/core'; import { ColumnView } from 'ng2-qgrid/core/scene/view/column.view'; import { SelectionModel } from 'ng2-qgrid/core/selection/selection.model'; import { Model } from 'ng2-qgrid/core/infrastructure/model'; import { NgComponent } from '../../../infrastructure/component/ng.component'; import { RootService } from '../../../infrastructure/component/root.service'; import { ViewCoreService } from '../view/view-core.service'; import { TableCoreService } from '../table/table-core.service'; export declare class BodyCoreComponent extends NgComponent implements OnInit { private element; $view: ViewCoreService; $table: TableCoreService; private root; private zone; private cd; pin: string; columnId: (index: number, item: ColumnView) => any; rowId: (index: number, row: any) => any; constructor(element: ElementRef, $view: ViewCoreService, $table: TableCoreService, root: RootService, zone: NgZone, cd: ChangeDetectorRef); ngOnInit(): void; readonly selection: SelectionModel; readonly model: Model; virtualRowId(index: any): any; }