TreeView

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
francoisgfx
Posts: 15
Joined: June 5th, 2010, 7:06 am

anyone knows how to pass an array to a treeview UI element ?
it doesn't seems to work for me. All example I'm finding are XML nodes :(


thx
berniebernie
Posts: 33
Joined: February 7th, 2005, 7:32 am
Contact:

check "SnpCreateTreeView.jsx" in the sdk folder of extendscript toolkit
Boom boom boom.
francoisgfx
Posts: 15
Joined: June 5th, 2010, 7:06 am

yep I know, but it does use an XML with the "node" approach.

I wish something more like treeview.add(mybigArray), where mybigArray is a simple array object

can't it be done ?
francoisgfx
Posts: 15
Joined: June 5th, 2010, 7:06 am

oh my bad! that's another one. but still add('node',...) method :(

oh well I guess it is the way to do it, will go with that then !

Thanks
berniebernie
Posts: 33
Joined: February 7th, 2005, 7:32 am
Contact:

you mean like you could feed it an array instead of doing it by hand with for loops?

I'm guessing you could do it with a prototype (?), but I'm curious if it can be done with a built-in funciton.
Boom boom boom.
Post Reply