Welcome Guest Search | Active Topics | Sign In | Register

Collapse node in treeview... Options
Ray Bradley
Posted: Wednesday, February 27, 2008 5:54:59 AM
Rank: Member
Groups: Member

Joined: 10/31/2007
Posts: 18
Let's say I have three parent nodes in the root... and those parents have several child nodes each... whenever a parent is chosen... I would like to collapse all other parent nodes... leaving only the currently chosen parent open... I would like to do this with javascript.

thanks!
eo_support
Posted: Wednesday, February 27, 2008 6:38:45 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,093
Hi,

You don't need to do any JavaScript for that. It's already implemented on the TreeView:

http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.TreeView.SingleExpandMode.html

Thanks
Ray Bradley
Posted: Wednesday, February 27, 2008 8:17:11 AM
Rank: Member
Groups: Member

Joined: 10/31/2007
Posts: 18
Perfect! Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.