You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This essentially enables faceted filter options to be built easily
// using every column's preFilteredRows value
nonFilteredColumns.forEach(column => {
column.preFilteredRows = filteredRows
column.filteredRows = filteredRows
})
Are there any examples of how column.prefilterdRows to is intended to be used in the faceted filter case?
Any advice on how this is meant to be implemented would be greatly appreciated!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I see in the docs and code there are references to using
prefilteredRows
to help build a faceted filter. e.ghttps://github.com/tannerlinsley/react-table/blob/master/src/plugin-hooks/useFilters.js#L274
Are there any examples of how column.prefilterdRows to is intended to be used in the faceted filter case?
Any advice on how this is meant to be implemented would be greatly appreciated!
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions