ngx-mat-lib
Version:
A bunch of utilities and components to use in your Angular 7+ apps!
18 lines (17 loc) • 552 B
TypeScript
import { MatTableDataSource } from "@angular/material";
import { XmatGenericObject } from "./xmat-generic-object";
export interface XmatSimpleTableCol {
key: string;
label: string;
order?: number;
thKlass?: string | string[];
tdKlass?: string | string[];
ifEmpty?: string;
isHTML?: boolean;
}
export interface XmatSimpleTable<T = XmatGenericObject<string | number>> {
cols: XmatSimpleTableCol[];
dataSource: MatTableDataSource<T>;
thKlass?: string | string[];
tdKlass?: string | string[];
}