-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[grid] Add disabled property #2170
Comments
Just noting here that if the vaadin-grid is disabled, then also the possible vaadin-grid-tree-toggle elements need to be disabled. At the moment the behaviour is erratic:
|
@mlindfors Note that this issue is about the
At the moment, You're referring to the Flow (Tree)Grid which shouldn't have the API for disabling the component in the first place (because this feature hasn't yet been implemented). You can find related issue reports at https://github.com/vaadin/flow-components/issues?q=is%3Aissue+is%3Aopen+grid+setEnabled+ |
Describe your motivation
vaadin-grid
does not have a disabled state, even though the Flow API hassetEnabled
(which disabled some, but not all, interaction). While somewhat niche, there are situations in which it's desirable to disable all interaction with a Grid, such as in a master-detail layout where you wish to prevent the user from interacting with the master grid while an item is being edited in the details.Describe the solution you'd like
Not sure what a disabled Grid should be like – UI and interaction design is needed – but here is some food for thought:
The text was updated successfully, but these errors were encountered: