TreeGrid: support optional node-level actions (54)
We have a need to support node-level actions for items within the tree. The primary use-case is around foldering and the management of folders in the context of the tree (rename, delete, etc.).
For accessibility purposes, tree views are not permitted to have node-level actions. Nodes may do one of two things, expand/collapse, or trigger a single action.
If you want multiple actions per node, you'll want something such as "TreeGrid" which is table based.
Thanks @jhausler1266 glad you flagged this as an anti-pattern. Let me follow up with others on our design team, we may need to collaborate with you and others on an alternative solution.
@mbeard Has there been any movement with this from the design standpoint?
Rumi was looking into this last week and exploring use of the TreeGrid.
@futuremint Any issue with closing this? We can't implement until the pattern is in SLDS, anyway.
Nope. Considering the accessibility implications, this would be a great opportunity for us to work with the designer on changing the design to something accessible when it comes up.