
var serviceRoot = "http://demos.kendoui.com/service";
homogeneous = new kendo.data.HierarchicalDataSource({
            type:"jsonp",
            transport: {
                read: {
                    url: serviceRoot + "/Employees",
                    dataType: "jsonp"
                }
            },
            schema: {
                model: {
                    id: "EmployeeId",
                    hasChildren: "HasEmployees"
                }
            }
        });

var treeView = $("#treeView").kendoTreeView({
    dataSource: homogeneous,
    dataTextField: "FullName"
}).data("kendoTreeView");