karpuz
Junior Member
Posts: 5
Registered: 2/9/2004
Member Is Offline
|
| posted on 2/9/2004 at 01:43 PM |
|
|
Multiple item scope settings on singlew node
Hello there,
I want to be able to apply multiple scope settings for a node. For example :
['Folder',
'index.html',
{'sb':'Folder'} ,
{'st':'1'}]
However, this throws an error. So, what I'm after is away to specify in the tree
spec say "sb" (status bar) and "st" (initial state) and/or more scope settings?
|
|
|
tigra
Administrator
Posts: 1982
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 2/9/2004 at 05:12 PM |
|
|
['Folder', 'index.html', {'sb':'Folder', 'st':'1'}]
|
|
|
karpuz
Junior Member
Posts: 5
Registered: 2/9/2004
Member Is Offline
|
| posted on 2/9/2004 at 09:53 PM |
|
|
Cheers.
However, when I set all tree nodes st:1 I expect the entire tree to be expanded by default but this doesn't appear to be the case?
Any ideas?
|
|
|
rock
Moderator
Posts: 687
Registered: 4/15/2003
Member Is Offline
|
| posted on 2/10/2004 at 07:43 AM |
|
|
Actually you should set 'st' key like the following:
['Folder', 'index.html', {'sb':'Folder', 'st':1},...]
I.e. 'st':1 or 'st':0 (0/1 without quotation marks)
|
|
|
karpuz
Junior Member
Posts: 5
Registered: 2/9/2004
Member Is Offline
|
| posted on 2/10/2004 at 09:28 AM |
|
|
Cheers, works a treat :)
|
|
|