How might I make it so only the dropdowntree's leaves are selectable; and clicking parent nodes will either do nothing or expand the nodes?
3 Answers, 1 is accepted
answered on 07 Jun 2018, 12:41 PM
Such behavior van be achieved if we hook to select event of the treeview and allow selection only for some for the items. Here is a sample dojo with jQuery version. In case of MVC DropDownTree the widget should be found and the event bound by using a code similar to the one below in a script tag in the view:
var dropdowntree = $("#dropdowntree").data("kendoDropDownTree");