jqTree - Node Tooltip

jqTree - Node Tooltip


I would like to handle nodes which have long labels in jqTree.

One solution I am thinking about is to display a tooltip for each node.

My first question is: is there an easy way to give a tooltip to a node ?
I tried to add a "title" when creating the data, but that doesn't seem to have any effect:
myDatat[x] = {name: "aName", id: "anID", title: "aTitle"}

Then I found an example here: http://jsfiddle.net/depperm/ydtv2v11/, which I was able to reproduce with jQuery 3.x and jQuery UI 1.12.
However, this example does create a tootlip text on the fly, and seems not able to display data specific to the hovered node.

If you have any solution to display a node tooltip related to that specific node, or if you have a nicer way to handle long nodes text, any input is warmly welcom.