剣道UIツリービューにハックがあるので、ユーザーがルートノードをクリックすると、他のブランチノードと同様に選択メソッドがトリガーされます。
現在、この動作に対して見つけることができるオプションはなく、select メソッドはブランチに対してのみトリガーされます。
var areaDropDownTreeView = $(tvElement).kendoExtDropDownTreeView({
treeview: {
template: kendo.template($(tvTemplate).html()),
dataSource: dataSource
}
}).data("kendoExtDropDownTreeView");
var $dropdownRootElem = $(areaDropDownTreeView.dropDownList().element).closest("span.k-dropdown");
var $treeviewRootElem = $(areaDropDownTreeView.treeview().element).closest("div.k-treeview");
// Unbind default select event.
areaDropDownTreeView.treeview().unbind("select");
// Bind new select event.
areaDropDownTreeView.treeview().bind("select", function (e) {
// want to do something here for every node including the root, but the root is not triggering select, only the branches are
});