Releases: borsch/angular-datatable-advanced
Releases · borsch/angular-datatable-advanced
v12.0.0
Migrate to Angular 12
Main changes in this version are:
- Angular version change from v9.1 to v12
- angularx-flatpickr has been removed from dependencies. Now library directly integrated with flatpickr
V0.4.0
Changelog:
- add ability to select filter types applicable to specific column (changes 55f93f8)
columns: Column[] = [
// all filter types be available for column "id"
{
columnKey: 'id',
columnName: '#',
sortable: true,
filterable: true
},
// only "Equals" & "Not Equals" filter types will be available for this column
{
columnKey: 'name',
columnName: 'Name',
sortable: true,
filterable: true,
enabledFilters: [FilterType.EQUALS, FilterType.NOT_EQUALS]
}
]
- if
enabledFilters
is specified and has only one value (ex:enabledFilters: [FilterType.IN]
) then filter filter type for this column will be hidden and will be equals to it's single values( ex:FilterType.IN
will be filter type in previous example) (changes 55f93f8) - ability to configure own text for all filter types and filter pop-up. Now it's possible to specify own text via global config while importing module
AngularDatatableAdvancedModule.forRoot({ .. object with own text goes here .. })
(changes 609221f)
Breaking changes:
- after adding ability to change text the module import statement has been changes
AngularDatatableAdvancedModule
->AngularDatatableAdvancedModule.forRoot()
(changes 609221f)