Board Logo

Multiple item scope settings on singlew node
karpuz - 2/9/2004 at 01:43 PM

Hello there,

I want to be able to apply multiple scope settings for a node. For example :

{'sb':'Folder'} ,

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 - 2/9/2004 at 05:12 PM

['Folder', 'index.html', {'sb':'Folder', 'st':'1'}]

karpuz - 2/9/2004 at 09:53 PM


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 - 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 - 2/10/2004 at 09:28 AM

Cheers, works a treat :)

Back to forum: