Releases: l-lin/angular-datatables
Releases · l-lin/angular-datatables
v5.1.0
v5.0.0
v4.4.1
v4.4.0
v4.2.0
This release contains the following:
- Support Angular 4.3.X
- Unsubscribe
dtTrigger
onDestroy
- Add exampe on select extension
v4.1.1
v4.1.0
This release is mainly used to be compatible with Angular 4.1.X and angular-cli 1.0.3.
v4.0.0
v2.3.0
This release contains the following:
- Implements the angular-way #955
- Use
@types
#954- You will need to install the following dev dependencies:
npm install @types/jquery --save-dev
npm install @types/datatables.net --save-dev
- For
dtOptions
, you can use the DataTable's settings typings:
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'with-options',
templateUrl: 'with-options.component.html'
})
export class WithOptionsComponent implements OnInit {
dtOptions: DataTables.Settings = {};
ngOnInit(): void {
this.dtOptions = {
pagingType: 'full_numbers'
};
}
}