dataBound

Triggered after the dataSource change event has been processed (adding/removing/loading/editing items).

Event Data

e.sender kendo.ui.OrgChart

The OrgChart instance that triggered the event.

Example

<div id="orgchart"></div>

<script>
    $("#orgchart").kendoOrgChart({
        dataSource: [
            { id: 1, name: "Jane", title: "Boss", expanded: true },
            { id: 2, name: "John", title: "Lead", expanded: true, parentId: 1 },
            { id: 3, name: "Jill", title: "Worker", expanded: true, parentId: 2 },
            { id: 4, name: "James", title: "Worker", expanded: true, parentId: 2 },
        ],
        dataBound: function(e) {
            console.log(e)
        }
    });
</script>
In this article