Hi,
I'm trying to expand a TreeView node with a single mouse click.
To do this, I thought about using the select event (single click) to call the expand method.
Something like:
<script>
$(document).ready(function() {
$("treeview").kendoTreeView({
select: function(nodevariable) {
EXPAND METHOD SHOULD GO HERE
}
});
});
</script>
Did anyone ever had the same situation or know if there's an example of an expand method I could use? Or how to use it in this situation? I tried the the code samples on the demo page but I couldn't understand how to get the Selector out of a node type.
thank you very much,
Paulo
I'm trying to expand a TreeView node with a single mouse click.
To do this, I thought about using the select event (single click) to call the expand method.
Something like:
<script>
$(document).ready(function() {
$("treeview").kendoTreeView({
select: function(nodevariable) {
EXPAND METHOD SHOULD GO HERE
}
});
});
</script>
Did anyone ever had the same situation or know if there's an example of an expand method I could use? Or how to use it in this situation? I tried the the code samples on the demo page but I couldn't understand how to get the Selector out of a node type.
thank you very much,
Paulo