palantir/blueprint
Voir sur GitHubTree does not add id field to the node div in the HTML
Open
#4 933 ouverte le 25 sept. 2021
P2Package: coreType: enhancementhelp wanted
Métriques du dépôt
- Stars
- (20 263 stars)
- Métriques de merge PR
- (Merge moyen 43j 10h) (27 PRs mergées en 30 j)
Description
Environment
- Package version(s): v3.50.1
- Browser and OS versions: Chrome and MacOS
Question
I am trying to build an app for which I am implementing the Tree View structure from the blueprintjs/core. I am able to implement the Tree View structure fine, but for my use case I need to access each node by the ID. On checking the HTML created i could see that the each div does not set each ID. As per the TreeNodeProps we are required to add the id field in the contents json object, but looks like the id is not being used while creating the HTML of the tree.
Can you please help me figure out how can we access each node by the ID?