You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have a TreeGrid for which I call setEnabled(false), the following things seem to happen
the node toggles remain clickable, and seemingly change state when clicked i.e. the arrow icon changes direction
however, despite the above, a collapsed node won't expand when clicked
an expanded node WILL collapse when clicked, despite the component being disabled
Expected outcome
Disabling a TreeGrid should also disable the toggles.
Actual outcome
Disabling a TreeGrid causes the toggles to be only partially disabled, and the behaviour is erratic
Steps to reproduce
Add a TreeGrid component to a page
Expand one row programmatically
Set the TreeGrid disabled with treeGrid.setEnabled(false);
Click the row toggles to see the described behaviour
As a workaround, the following can be added into the shared styles, although I suspect it's still possible to toggle things with the keyboard even after this:
The disabled property added in the web component and that will make sorters unavailable.
This is considered a new feature so it will be only available from v23.0 onwards.
Description
If I have a TreeGrid for which I call setEnabled(false), the following things seem to happen
Expected outcome
Disabling a TreeGrid should also disable the toggles.
Actual outcome
Disabling a TreeGrid causes the toggles to be only partially disabled, and the behaviour is erratic
Steps to reproduce
As a workaround, the following can be added into the shared styles, although I suspect it's still possible to toggle things with the keyboard even after this:
Environment
Browsers Affected
The text was updated successfully, but these errors were encountered: