New to Kendo UI for jQueryStart a free 30-day trial

NodeEnter

events

Fires when the user enters a node. Similar to the mouseenter event.

Event Data

e.dataItem Object

The data item of the entered node.

e.originalEvent Object

The original browser event.

e.preventDefault Function

If invoked, the default action of the event will not be executed.

e.sender Sankey

The Sankey widget instance.

<div id="sankey" style="width: 500px; height: 200px;"></div>
<script>
    $("#sankey").kendoSankey({
        data: {
            nodes: [
                { id: 1, label: { text: "Node 1" } },
                { id: 2, label: { text: "Node 2" } },
                { id: 3, label: { text: "Node 3" } }
            ],
            links: [
                { sourceId: 1, targetId: 3, value: 2 },
                { sourceId: 2, targetId: 3, value: 1 }
            ]
        }
    });

    var sankey = $("#sankey").getKendoSankey();
    sankey.bind("nodeEnter", function(e) {
        console.log("Node enter", e);
    });
</script>
Not finding the help you need?
Contact Support