-
-
Notifications
You must be signed in to change notification settings - Fork 655
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
MDDataTable clicking anywhere except from the table closes the table. #315
Comments
@BananaMasterz Tables require refinement and improvement. Unfortunately, there is no time to do this yet. |
Gotcha. Can't wait! Thank you for your work by the way. I feel like you don't get enough credit... kudos. |
MDDataTable inherit of BaseDialog, BaseDialog inherit of ModalView, By default, any click outside the view will dismiss it, datatables.py remove import BaseDialog and import ModalView from kivy.uix.modalview import ModalView class MDDataTable(ThemableBehavior, ModalView):
auto_dismiss = BooleanProperty(False) at least temporarily |
@FranciscoCarbonell is right.. they are a pop-up... that's the way the widget is designed. Some people may like the way it is some may not you are free to modify it in your own machine. |
|
Description of the Bug
I'm not actually sure if this is a bug but it sure looks like one. Whenever I tap anywhere off a table, the table disappears. I know MDDataTable is pretty new but I also can't seem to be able to put it in my KV file... I can only create it as a pop-up from my python file. Documentation's examples do the same as well. Is it supposed to be a dialog? Cuz I was very glad to see it as I'm working on an app that's mainly using tables to display data. I really dont wanna go back to using my table code cuz it's terrible compared to this new masterpiece.
Code and Logs
Screenshots
Add images to explain us this bug. Paste urls here.
Remove this section if no images here
Versions
The text was updated successfully, but these errors were encountered: