Skip to content

Filtering search - #323

Closed
ssweber wants to merge 4 commits into
wipfrom
filtering_search
Closed

ssweber wants to merge 4 commits into
wipfrom
filtering_search

Conversation

@ssweber

@ssweber ssweber commented May 31, 2023

Copy link
Copy Markdown
Collaborator

No description provided.

ssweber added 4 commits May 31, 2023 14:03
How this works:

- we `bind_dataset` to search input box.
- when a value is changed, it updates a stringvar, dataset.search_string
- and calls update_selectors(key)
- table_values is setup to filter rows by search_string if its set
- and finally, any call to @current_index.setter sets search_string to "", which also clears the input box.
Resets when you insert virtual row, save a record, or requery
@ssweber ssweber closed this Jun 1, 2023
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

Successfully merging this pull request may close these issues.

1 participant