ngx-easy-table
Version:
Angular easy table
32 lines (31 loc) • 1.31 kB
TypeScript
import { OnInit, ChangeDetectorRef, AfterViewInit, EventEmitter, TemplateRef } from '@angular/core';
import 'rxjs/add/operator/map';
import { HttpService } from './services/http-service';
import { FiltersService } from './services/filters-service';
import { ResourceService } from './services/resource-service';
import { ConfigService } from './services/config-service';
export declare class TableComponent implements OnInit, AfterViewInit {
filtersService: FiltersService;
config: ConfigService;
resource: ResourceService;
httpService: HttpService;
private cdr;
data: Array<any>;
keys: Array<any>;
numberOfItems: number;
selectedRow: number;
selectedCol: number;
selectedCell: number;
itemsObservables: any;
configuration: ConfigService;
event: EventEmitter<{}>;
tpl: TemplateRef<any>;
constructor(filtersService: FiltersService, config: ConfigService, resource: ResourceService, httpService: HttpService, cdr: ChangeDetectorRef);
ngOnInit(): void;
ngAfterViewInit(): void;
orderBy(key: string): void;
clickedCell($event: object, row: object, key: string | number | boolean, colIndex: number, rowIndex: number): void;
isColumnDefined(): boolean;
showColumn(colIndex: any): boolean;
toggleColumn(colIndex: any): void;
}