MaxFromH
Junior Member
Posts: 9
Registered: 9/23/2005
Member Is Offline
|
| posted on 9/27/2005 at 04:51 PM |
|
|
Open folder
I know, how to toggle the open-state of a folder item (e.g. trees[n].toggle(m)).
What would be the syntax, if I always want to open it, no matter, in which state it is?
|
|
|
rock
Moderator
Posts: 687
Registered: 4/15/2003
Member Is Offline
|
| posted on 9/28/2005 at 08:47 AM |
|
|
trees[n].a_index[m].open();
|
|
|
MaxFromH
Junior Member
Posts: 9
Registered: 9/23/2005
Member Is Offline
|
| posted on 9/28/2005 at 11:29 AM |
|
|
Works fine. Thank you.
|
|
|
sasha
Newbie
Posts: 1
Registered: 4/23/2007
Member Is Offline
|
| posted on 4/24/2007 at 04:30 AM |
|
|
Not work !
in line
get_element('i_txt' + this.o_root.n_id + '_' + this.n_id).style.fontWeight = b_deselect ? 'normal' : 'bold';
IE6 produce error
Error: style is null or not object !
|
|
|
tigra
Administrator
Posts: 1920
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 4/14/2008 at 03:58 PM |
|
|
This will work on initialized nodes only. expand all parents of the node starting from the root before calling any API methods on it.
|
|
|