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

Search functionality #12

Open
snehakasetty opened this issue Apr 1, 2022 · 3 comments
Open

Search functionality #12

snehakasetty opened this issue Apr 1, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@snehakasetty
Copy link

Hi Leo

This is an amazing library i am using it in my current project.
I have a question, can you suggest a way to add a search functionality ?

@LeoNatan LeoNatan added the enhancement New feature or request label Apr 2, 2022
@LeoNatan
Copy link
Owner

LeoNatan commented Apr 2, 2022

Hello,

I don’t think this is currently possible. You can add an NSSearchField on your own, or even implement the whole NSTextFinder machinery, but there is no API exposed for highlighting or even just row selection.

I’ve set this as an enhancement issue, and will try to look into implementing soon.

@LeoNatan
Copy link
Owner

LeoNatan commented Apr 5, 2022

In the 2.1.1 release, I’ve added API to select & scroll rows of nodes, so theoretically, you can now implement searching on the model, and update the UI to select rows.

I will eventually implement full search, but this will take me a while.

@LeoNatan LeoNatan changed the title Search list Search functionality Apr 5, 2022
@snehakasetty
Copy link
Author

snehakasetty commented Apr 5, 2022 via email

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

No branches or pull requests

2 participants