user1550951 user1550951 - 3 months ago 46x
JSON Question

Mouse-over event on JSTree

I am using a jstree to display information in an MVC Razor page. The code for jstree looks like this:

'core': {
'data': {
"url": "/controller/methodname",
"data": function (node) {
return { "id":, "parent":node.parent };

"plugins": ["sort"]

I want to add a mouse-over event on each node so it displays additional information. I've had a look at documentation but I'm not sure where do I have to add the event.


Try it as an event listener, completely independent of the jstree initialization code:

$('#app_container').on("hover_node.jstree", function (node) {
    // Your code here