v5.1.0 - Filter Predicates
5.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.
Features
- add
filterQueryOverride
to GraphQL Service (#353) (7157271) - add
filterQueryOverride
to OData Service (#354) (8e53c4b) - add a
filterPredicate
option for user customization (#352) (abd9356) - add local data StartsWith/EndsWith (
a*z
) filter combo (#355) (23f3f9d) - add optional Top-Header for Draggable Grouping & Header Grouping (#358) (e4d1706)
- add StartsWith/EndsWith (
a*z
) to OData/GraphQL (#356) (643f8a8) - enhance Excel
valueParserCallback
with dataContext & new demo (#350) (e1e6c0d)
Bug Fixes
- demo: out of boundaries page Grid Preset should be unset (#347) (36a3a85)
- Draggable Grouping drop zone should always be 100% wide (b15abe4)
- TreeData: addItem should keep current sorted column (#359) (734a770)
Installation
Please remember that all packages of @slickgrid-universal
(v5.1.0
) and Slickgrid-React
(v5.1.0
) must be updated at the same time and they will always get bumped on the same day to avoid any upgrade issues.
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 Slickgrid-React changelog (above)