bazza/ui
bazza/ui

2025.04.01 - Support for filtering complex columns

This adds support for filtering columns in cases where the column value is not strictly a property of the original data.

This was not possible before, due to the limitation of defineMeta's first argument, which only accepted a direct property on the initial data type.

You can now filter columns where the value is:

  • a deeply nested property (i.e. user.name)

  • accessed using a function (i.e. row => row.user.name.split(' ')[0])

To accomplish this, we've decided to change the interface for the defineMeta helper function. The first property is now an accessor function, instead of an accessor key.

For more details, check the data table filter changelog entry here:

https://ui.bazza.dev/docs/data-table-filter#20250401

new feature

Kian Bazarjani
Published by Kian Bazarjani