How to set Tooltip with JSON

Hi,

I am setting tooltip as following but tooltip is not appearing please give me some valuable suggestion to set tooltip with JSON.

{“id”:“0”,“item”:[{“id”:“1”,“text”:“RootNode”,“select”:“yes”,"tooltip ":“Directory”}]}

Regards:
Asad Ali Rathore

Hi
I have some ideas:

  1. you have a space in attribute “tooltip” in your line:
    {“id”:“0”,“item”:[{“id”:“1”,“text”:“RootNode”,“select”:“yes”,“tooltip_”:“Directory”}]}
  2. you didn’t apply method:
    tree.enableAutoTooltips(1);