0

I want to display additional information for a node when using JSTree for creating a tree diagram.

enter image description here

If I want to display attributes such as, say Child name, age etc. along with the node, how would I do it? Is there a plugin that does this?

Rutwick Gangurde
  • 4,772
  • 11
  • 53
  • 87
  • Where do you want to display the extra information? In the node itself, or in a seperatly, eg an information box? – Ducker Jun 02 '19 at 23:38
  • I want to display it along the node, maybe like a list below the node before the children branch, however I think a tool tip would serve this better since the list of items can get big. – Rutwick Gangurde Jun 03 '19 at 07:19
  • 1
    Does this answer help you? https://stackoverflow.com/a/8167174/6060429 You can specify tooltip when you set the script to init the tree. Then within the init script you can construct the content of the tooltip – Ducker Jun 03 '19 at 10:35
  • Hey thanks, it does have some interesting suggestions, lemme try them out. – Rutwick Gangurde Jun 04 '19 at 09:08

0 Answers0