Skip to content

It's possible to do a "hover tooltip" showing some text in the json data? #2667

Answered by ApiumJacob
Ricardosgeral asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, here is the better code:

"a_attr": {"title": "stick to your day job"}

    $('#jstree_div').jstree({
        "core" : {
            "multiple" : true,
            "themes" : {
                "variant" : "medium",
            },
            data : [{"id": "1", "text": "Hello", "a_attr": {"title": "stick to your day job"}},
                    {"id": "2", "text": "World", "a_attr": {"title": "never take advise from a stranger"}}
                   ]
        },
        "plugins" : [ "sort" ] 
    });

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vakata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants