Skip to content

Implemented custom matching by column in ResponsiveTable

Loic Huder requested to merge beamline-search into master

Custom matching functions onMatch for the search can now be supplied in the columns in a similar fashion of formatting functions. Uses the onColumnMatch (https://react-bootstrap-table.github.io/react-bootstrap-table2/docs/search-props.html#searchoncolumnmatch-function) under the hood to dispatch them.

Used to fix #373 (closed).

Also prevented hidden columns from matching the search to avoid strange matches as in #373 (closed).

Edited by Loic Huder

Merge request reports

Loading