0.1.4 • Published 3 years ago

dime-table v0.1.4

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

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

0.1.4

3 years ago

0.1.0

3 years ago

0.1.2

3 years ago

0.3.0

3 years ago

0.1.1

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.2.8

3 years ago

0.2.6

3 years ago