Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getNodes doesn't working #179

Open
justmumu opened this issue Nov 7, 2019 · 1 comment
Open

getNodes doesn't working #179

justmumu opened this issue Nov 7, 2019 · 1 comment

Comments

@justmumu
Copy link

justmumu commented Nov 7, 2019

Hi,

When I use getNodes function like this.treeRefs.getNodes({title:"justrying"}, this.treeData, false) It doesn't return any node. It return a valid data only if I filter root node's information.

But I expect it should return any children if I filter with child title for example.

@halower
Copy link
Owner

halower commented Apr 16, 2020

this.$refs.tree1.searchNodes(node =>new RegExp(this.searchword, 'i').test(node.title))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants