のdata
変数function (e, data)
は常に未定義を返します。IIRC ホバリングされているノードである必要があります。
$("#search").bind("hover_node.jstree", function (e, data) {
console.log(data); //always 'undefined'
//This is what I wish would work:
var node = data.rslt.obj, // the hovered node
tree_instance = data.inst; // tree instance
tree_instance.open_node(node);
}).jstree({
"core": {
...
});
ここで何が問題なのかについてのアイデアはありますか?