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
MultipleView with search #1743
Comments
I faced the same problem. custom_multiple_views.html:
custom_multipleviews.py
|
Error(( |
I'm sorry I missed something.
|
Sorry, i did not understand. How do I use this code? To make the error go away. |
Each class you referenced in CustomModelView has to be extended like above.
|
I can't reproduce your results, because I know nothing about your models and views! I think we have to customize the template for the search widget. template/widgets/custom_search.html
customsearchwidget.py
view.py
|
I do not understand where the parameter is formed "?_flt_0_Age=60" in http://0.0.0.0:8080/procedurespatientsdirectchart_tl/chart/?_flt_0_Age=60 when pressed "Search" |
I don't have enough information to answer your question! |
If you write 0.0.0.0:8080 /.../?_ flt_0 _... = ... & _ flt_0 _... = ... from different tables to the browser command line, the result will be perfect. Question. How does it do Flask appbuilder? |
MultipleView is quit complicated. Each SearchWidget contains a separate Form. |
{{ lib.btn_search() }} Where is the handler for this button? |
There is no handler, it is a submit button! |
Now I have a solution to apply conditions from different SearchWidgets. custom_multiple_views.html:
views.py
|
Did it work for you? Can I get your example by email? vashk-sa@yandex.ru |
Yes it works, but I have no compact example. |
Good. I'll try to do it all over again tomorrow. |
Super!!! Works. I am very happy. Thank you very much! |
Help me, plz!
Make MultipleView with search.
https://flask-appbuilder.readthedocs.io/en/latest/quickhowto.html?highlight=multiple
We need an independent search for every list on the page. How to do it?
If you select filters at the top and click search, then they are reset to the bottom sheet. And vice versa.
The text was updated successfully, but these errors were encountered: