@ng-hive/dynamic-table
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

html: <kmr-dynamic-table [data]="transactionTableData" [tableConfig]="tableConfig" [options]="tableOptions" > ts: import { TableOptions, TableCellConfig } from "angular-material-dynamic-table";

tableConfig: TableCellConfig[] = [ { headerTitle: "", fieldName: "Date" }, { headerTitle: "", fieldName: "EnterTime" }, { headerTitle: "" , fieldName: "ExitTime" }, { headerTitle: "", fieldName: "Status" }, { headerTitle: "", fieldName: "operation", customComponent: "edit-delete" } ];

tableOptions: TableOptions = { pagination: true, hasFilter: true };

transactionTableData = [ { Date: "1398/11/28", EnterTime: "09:09", ExitTime: "13:00", Status: "" }, { Date: "1398/11/28", EnterTime: "13:50", ExitTime: "17:09", Status: "" } ];

Readme

Keywords

none

Package Sidebar

Install

npm i @ng-hive/dynamic-table

Weekly Downloads

0

Version

0.0.4

License

none

Unpacked Size

448 kB

Total Files

62

Last publish

Collaborators

  • 01shadowalker01
  • tavanasys