Angular datatable component using jquery
npm install @tusharghoshbd/ngx-jquery-datatableangular
npm i @tusharghoshbd/jq-plugins
npm i @tusharghoshbd/ngx-jquery-datatable
`
Add datatable script in index.html page just after the jQuery library. you can see the demo.
``
Usage
#### Html file
`angular
[options]="option"
paginationLength="true" tableClass="table table-striped"
width="100%">
ID
Name
Phone
`
#### Ts file
`angular
option:any = {
colReorder: true,
data: [{ "id": "1", "name": "Brendan","phone": "1-724-406-2487"}],
columns: [{ data: 'id' }, { data: 'name' }, { data: 'phone' }]
}
``