Rank: Newbie Groups: Member
Joined: 5/4/2010 Posts: 5
|
Can expand nodes on mouse click but want to use mouse over.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, You will need to handle the TreeView's ClientSideOnItemMouseOver, it will be something like this:
Code: HTML/ASPX
<eo:TreeView ClientSideOnItemMouseOver="mouse_over_handler" ....>
....
</eo:TreeView>
Code: JavaScript
function mouse_over_handler(e, info)
{
var treeNode = info.getItem();
treeNode.setExpanded(true);
}
Thanks
|
Rank: Newbie Groups: Member
Joined: 5/4/2010 Posts: 5
|
Excellent, works a treat.
|