material-dynamic-table
Version:
Dynamic table component for angular built on top of angular material table. It offers sorting, pagination, filtering per column and the ability to specify content types and components used for displaying them.
18 lines (17 loc) • 920 B
TypeScript
import { ComponentFactoryResolver, OnInit } from '@angular/core';
import { CellDirective } from './cell.directive';
import { CellService } from './cell-types/cell.service';
import { ColumnConfig } from '../column-config.model';
import * as i0 from "@angular/core";
export declare class TableCellComponent implements OnInit {
private readonly cellService;
private readonly componentFactoryResolver;
cellHost: CellDirective;
row: object;
column: ColumnConfig;
constructor(cellService: CellService, componentFactoryResolver: ComponentFactoryResolver);
ngOnInit(): void;
initCell(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TableCellComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TableCellComponent, "mdt-table-cell", never, { "row": { "alias": "row"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, {}, never, never, false, never>;
}