v8.1.0 - Filter Predicates
8.1.0 (2024-06-08)
New Release Info
This new release brings a ton of new features and most of the new feature ideas came from this great Stack Overflow question Angular Slickgrid - Custom Filter which the user asked if it was possible to create a custom filter as SQL LIKE
. So, from this idea in mind and considering that we already had a sortComparer
for custom Sorting but no ways to customize Filtering, now let's work around this idea shall we?
- new
filterPredicate
for local JSON dataset (see Example 31 forSQL LIKE
demo) - new
filterQueryOverride
which is the filter override for Backend Services (OData / GraphQL) - new
OperatorType.custom
that can be used with above custom filter predicate/override - new Operator
a*z
(StartsWith & EndsWith combo) available for local JSON dataset and Backend Services - new Top-Header panel which now allows the user to use both Draggable Grouping and Header Grouping together, this just wasn't possible before (see Example 19)
This new release also brings a lot of improvements to the Excel Export with a new Example 36 which demos how to dynamically use Excel Formulas (e.g. Sums), you can even use Excel Formulas with Grouping to do Sums, isn't it awesome!? Let's just say that pretty much everything you can do in excel-builder-vanilla, you can probably do in Angular-Slickgrid.
A huge thanks to @zewa666 and @jr01 for their contributions & feedback to add some of these new features and fixes. 🚀
Features
- add
filterQueryOverride
to GraphQL Service (7151d43) - add
filterQueryOverride
to OData Service (2ccdaf0) - add local data StartsWith/EndsWith (
a*z
) filter combo (69bc186) - add optional Top-Header for Draggable Grouping & Header Grouping (99c4cf2)
- add StartsWith/EndsWith (
a*z
) to OData/GraphQL (e2f5439) - export: enhanced
valueParserCallback
with dataContext & new demo (bd057e5) - filters: add a
filterPredicate
option for user customization (2a7ebba)
Bug Fixes
- demo: out of boundaries page Grid Preset should be unset (7e4e3b8)
- TreeData: addItem should keep current sorted column (7f1bbe0)
Installation
Please remember that all packages of @slickgrid-universal
(v5.1.0
) and Angular-Slickgrid
(v8.1.0
) must be updated at the same time and they will always get bumped on the same day to avoid any upgrade issues. You can also consult the Versions Compatibility Table - Wiki
also remember that Slickgrid-Universal monorepo is where the biggest portion of the code exists (~90%), so most of the commits are now happening on that side.
- review the Slickgrid-Universal changelog
- and the Angular-Slickgrid changelog (above)