L_B
(L B)
May 28, 2024, 3:10pm
1
Hi
I’m trying to use a headerFilterRenderer on an AutoCRUD component from hilla/react and would like to know in which version this commit/feature is available?
committed 08:26AM - 28 Dec 23 UTC
* feat(autgrid): Add custom filtering option to columns
Fixes #1608, #1501
…
*Provide headerFilterRender for users as a new property in columnOptions
*Split headerRenderer and headerFilterRenderer to solve consistency issue with headerRenderer being responsible for two places.
*Provide setPropertyFilter function to headerFilterRenderer as a property in columnOptions
*Add identifier to andFilter and orFilter (key) for controlling (delete/replace/add) filter list
*Change setPropertyFilter to accept any Filter not only StringPropertyFilter
*Enable adding headerFilterRenderer to custom columns
*Enable setting headerRenderer from columnOptions as primary source (overwriting default)
*Provide types to users: ColumnOptions, HeaderFilterRendererProps
* Fix unused imports and constance issues from sonar
* Fix formatting
* Simplify/Refactor InternalHeaderFilterRenderer and move it to header-filter.tsx
* Refactor setPropertyFilter to setColumnFilter internally and setFilter for users
* Move isFilterEmpty function to utils for testing
* Remove key from and/or filter and provide alternative for internal filter working
Rename InternalHeaderFilterRenderer to HeaderFilterWrapper
* Remove key from tests
* Fix tests
I’m currently using npm; “@hilla /frontend”: “2.5.7”.
Thanks in advance!
knoobie
(Christian Knoop)
May 28, 2024, 4:08pm
2
Looking at the tags of the commit I would say 24.4
L_B
(L B)
May 28, 2024, 4:30pm
3
Thanks and which npm version would that equate to? i.e. “@hilla /frontend”: “2.5.7”.
knoobie
(Christian Knoop)
May 28, 2024, 4:38pm
4
You might want to read up here for a “correct” way to upgrade. Is Hilla 24.4.0 moving me back to Vaadin?
1 Like