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

How to implement quickfilter after enable_quicksearch is deprecated? #277

Open
DuelistRaj opened this issue Jun 6, 2024 · 2 comments
Open

Comments

@DuelistRaj
Copy link

Pretty much what the title says.

The official AG Grid documentation says to use the setGridOption api to enable quickfilter. How can we implement that in the st_aggrid library in Python? Or maybe override it? Any help is appreciated.

In the meantime, I am using agTextColumnFilter.

Official Documentation: https://www.ag-grid.com/javascript-data-grid/filter-quick/

@DuelistRaj
Copy link
Author

@PablocFonseca Any clue on how to achieve this?

@maxmilianr
Copy link

maxmilianr commented Jul 19, 2024

Hi, maybe not exactly what you are looking for, but now you can take a st.textinput and pass it to quickFilterText in grid_options:

quick_filter_text = st.text_input("quick search")

...

aggrid_options.configure_grid_options(
    quickFilterText = quick_filter_text
)

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