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?
filterPredicate
for local JSON dataset (see Example 32 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 18)
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 Slickgrid-Universal.
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 (#1214) (507a79a) - by @ghiscoding - add
filterQueryOverride
to OData Service (#1215) (988118f) - by @ghiscoding - add a
filterPredicate
option for user customization (#1213) (9caf80e) - by @ghiscoding - add local data StartsWith/EndsWith (
a*z
) filter combo (#1216) (677fd4c) - by @ghiscoding - add optional Top-Header for Draggable Grouping & Header Grouping (#1219) (3e555f5) - by @ghiscoding
- add StartsWith/EndsWith (
a*z
) to OData/GraphQL (#1217) (c8122e7) - by @ghiscoding - enhance Excel
valueParserCallback
with dataContext & new demo (#1211) (fdcc1cf) - by @ghiscoding
Bug Fixes
- demo: out of boundaries page Grid Preset should be unset (#1209) (e1a4d46) - by @ghiscoding
- deps: update all non-major dependencies (#1207) (c3bb68e) - by @renovate-bot
- TreeData: addItem should keep current sorted column (#1221) (87c39fb) - by @ghiscoding
- using caret
^
to get latest Aurelia 2 Beta 17 version (#1206) (e1d412d) - by @ghiscoding
Installation
Please remember that all packages of @slickgrid-universal
(v5.1.0
) and Aurelia-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 Aurelia-Slickgrid changelog (above)