I have created a tree grid structure using the code base found here at the SLDS documentation url : https://lightningdesignsystem.com/components/tree-grid/
The problem I am facing is that I am not able to make the rows expand and collapse using the aria-expanded attribute. I am not so well versed with aria-attributes, but I researched and found no ways to relate the aria-level 1 and aria-level 2 items.
I was able to successfully, expand/collapse the items using the lightning tree structure, that is found in the same documentation site, but somehow it does not work with grid. Can someone guide me here, what might be going wrong?