grapoza / vue-tree

Tree components for Vue 3
MIT License
95 stars 12 forks source link

how to apply filter from filterMethod? #319

Open amir1704 opened 11 months ago

amir1704 commented 11 months ago

how to apply filter from filterMethod?

grapoza commented 11 months ago

When you set the filterMethod prop on the tree it should run for every node and only show filtered nodes and parents of those nodes.

It looks like I didn't update the documentation correctly when I added filtering, so I've fixed that and I hope that will be helpful.

amir1704 commented 11 months ago

I dig in code and find it how to use but filterMethod does not working for me

amir1704 commented 11 months ago

the filterMethod run but it does not hide false node