Instalación
Component of Datatable
Installation
Install the dependencies and devDependencies and start the server.
$ npm install cplx-datatable$ npm install font-awesome$ npm install bootstrap
Uso
Importar en app.module.ts
First:
import
Importar en componente
import
Selector global en app.component.html
<!--[itemlist]="" // list of JSON data[header]="" //string list of show table header[content]="" //string list of show table content[loading]="" //boolean of loading[search]="" //input search value[config]="" //configuracion => ConfigDataTable type[pages]="" //number list of pages--> <cplx-datatable [content]="content" [header]="headers" [itemlist]="data" [config]="configtable"></cplx-datatable>
Author
- Efrain Figueroa
License
MIT