dime-table
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

Dime table Module

========================================

This library is an angular module providing reusable table component

Quick start

Install this package

npm install dime-table

Prepare the configuration

import {DimetableModule} from 'dime-table';

Add the module to the imports

import:[
    ...
      DimetableModule
    ...
]

To get the dime table reusable you can add (you can send ur datatable configuration and also u need to sent ur data and apply condtional statement before calling the component)

<lib-dime-table *ngIf="data?.length>0" [data]="data" [kgDtOption]="kgDtOptions">
  <thead>
   
    ...
  </thead>
  <tbody>
    ...
  </tbody>

</lib-dime-table>

To get the dime table template component for empty data you can add

<lib-dime-table-template >
  <thead>
    ...
  </thead>
  <tbody>
    ...
  </tbody>

</lib-dime-table-template>

In order to enable row reordering, your first column has to be for increasing index

Readme

Keywords

none

Package Sidebar

Install

npm i dime-table

Weekly Downloads

1

Version

0.1.4

License

none

Unpacked Size

13.4 MB

Total Files

37

Last publish

Collaborators

  • frehiwottalema23