I want to use the hierarchical drawer example, but I want that parents cannot be selected, only children (leafs) can be selected.
At this moment I am using the hierarchical drawer from the How to section on the kendo UI website, but this allows to select parent items.
This is my item template:
(At this moment we are faking the background of the parent items to be white (k-state-selected-parent), but the selected property is still true behind the scenes.)
=> I have troubles, when drawer item 1 is selected, and I expand drawer item 2, the selection dissappear on drawer item 1, because drawer item 2 is selected and expanded. It should only be possible to select drawer item 2.1 or 2.2 (for example) or in other words: expanding a parent may not lead to selection of that parent (to prevent losing the last selected item)
How to achieve this behavior?