Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

`ngx-translate` now optional & new Range Filters feature

Choose a tag to compare

@ghiscoding ghiscoding released this 29 Aug 19:44
· 2971 commits to master since this release
c3abe0f

This new release introduces couple of big new features, the 2 biggest ones are the following:

  1. ngx-translate now optional... you no longer need to install ngx-translate when using only 1 locale (English or any other locale). If it's other than English, you can also provide a custom locale file, more info in links below.
  2. Add new Range Filters, basically allows to have filter between min/max values but combined into 1 column filter. You can use a regular input filter and use the 2 dots notation to separate 2 numbers (e.g.: 5..10 between 5 and 10), and there are also 2 new Filters which are the Slider Range and the Date Range Filters. These new filters also work with the Backend Services (OData, GraphQL) which were updated and tested.

Other interesting additions

Also worth knowing that every single bug reported that were fixed in the past month now also have Cypress tests to avoid seeing these bugs again.

Important Note

We now have a new centralized angular-slickgrid-demos (replacing the standalone BS4 demo), so make sure to head over that repo to see all the existing Angular-Slickgrid examples. It includes a bunch of demos with/without ngx-translate and with Bootstrap 3 / 4

Use and like this library... please make sure to up vote ⭐️

Features

  • filter: add a few input/compoundInput filters test (190176a)
  • filter: add Cypress E2E tests for the Filter by Range grid (7da17f8)
  • filter: add DateRange Filter unit test & refactor code (308082f)
  • filter: add input search range functionality, ref issue #240 (7273cf8)
  • filter: add new rangeDate Filter (0878569)
  • filter: add new SliderRange Filter (26dc63c)
  • filter: add optional placeholder to multiple select (1b1274b)
  • filter: add SliderRange Filter unit tests & fix searchTerms input (be136be)
  • locales: add unit tests when using locales with enableTranslate (413ea71)
  • locales: add unit tests when using locales with enableTranslate (ae48ddf)
  • sorters: consolidate & provide all date sorters (fdc1155)
  • tests: add Cypress E2E tests to cover hidden columns, closes #250 (22868f5)
  • translate: add optional Locale functionality (8f24d2d | 86b1214 | 5eb1ec1 | 0d6b2e2)
  • tests: add SelectFilter unit tests (5115e08)
  • tests: add CompoundDate Filter unit tests (45348a0)
  • tests: add CompoundSlider Filter unit tests (06abb3d)
  • tests: add NativeSelect Filter unit tests & tweak some Filters (4b952c9)
  • tests: add slider unit tests (5ae1a85)

Bug Fixes

  • editor: fix negative number in floatEditor (7ae5a7)
  • dom: ColumnPicker & GridMenu were creating multiple DOM elements (8916f90)
  • gridMenu: add more type checks to avoid console error, fixes #268 (328c9af)
  • odata: use contains with OData version 4 (e936f33)
  • presets: Grid State & Presets stopped working for columns (4e0b528)
  • styling: fix some Bootstrap 4 styling (ee4931c)
  • backend: queries should not include pagination option when disabled (d648b80)
  • test: fix a Cypress flaky test that was sometime failing (4ed5a29)
  • core: dowgrade to previous SlickGrid version to fix issues (1fd11ab)