react-arborist icon indicating copy to clipboard operation
react-arborist copied to clipboard

Feature request: expose how many matches there are when filtered

Open cers opened this issue 1 year ago • 1 comments

This could be something like onSearchComplete or similar, accepting a function that is called when a search completes, passing along the number of matching nodes

cers avatar Feb 06 '23 10:02 cers

That's a good idea. Thanks for the suggestion. I think it would also be good to put in the TreeApi as a method. We currently have an .isFiltered boolean getter. Maybe another could be filteredCount.

jameskerr avatar Feb 06 '23 17:02 jameskerr