Issue with expanding and selecting the first node of kendo tree view
<p>I have a kendo tree view which is populated by a hierarchical data source. I want to set the parent node selected and expanded on load of the tree view. I have written the following expand and select to do so. But it is not working .Could anyone provide any solution?</p>

<pre><code>    var treeData =  new kendo.data.HierarchicalDataSource({

    transport: {
        read: {
            url: NsMenuMaster.urls.getMenuTreeUrl,
            data: data,
            datatype: "json",
            type: "POST"
        }
    },
    schema: {
        model: {
            id: "MenuConfigUid",                  
            children: "Child"

        }
    }
});

$("#MenuTreelist").kendoTreeView({
    dataSource: treeData,
    dataTextField: ["MenuText"],
    dataValueField: ["MenuConfigUid"],
    height: 1000,
    template: kendo.template($("#treeview-template").html()),
    checkboxes: {
        template: "&lt;input type='checkbox' name='StudentClassID' value='#= item.id #' /&gt;",
        checkChildren: true
    },
    select: NsMenuMaster.onSelect
});

 $("#MenuTreelist").getKendoTreeView().select(".k-first");
 $("#MenuTreelist").getKendoTreeView().expand(".k-first");
</code></pre>