TreeView

Find out why the . goes before the /

Moderator: Paul Tuersley

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

November 15th, 2010, 4:38 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:

November 15th, 2010, 11:51 am

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

November 16th, 2010, 1:39 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

November 16th, 2010, 2:23 pm

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:

November 18th, 2010, 2:13 pm

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