Skip to content

V0.4.0

Choose a tag to compare

@borsch borsch released this 04 Oct 08:55
· 53 commits to master since this release

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)