Expanding a Tree by Index Path [message #759515] |
Mon, 28 November 2011 21:38 |
Chris Missing name Messages: 32 Registered: June 2011 |
Member |
|
|
Im having difficulty expanding a tree by Index path. Looking over the documentation it seems indicies start at 1 and it expects a string, with slashes to separate children from parent nodes. I have followed this example to attempt to expand the root node, and Im unsure of why it is not working. It is likely a silly mistake on my part.
I was able to get the expansion to work by textpath using the exact same component name so I am confident it is not an object mapping issue. I currently am using ub_tre_expandNode_byIndexpath to attempt this with absolute path type, 0 pre-ascend, and an index path string of "1", (I have also tried unsuccessfully with "1/1"), but the test always fails with an Activation Error - Invalid Index. Could someone please provide an example of valid indicies or some indication of why it is not working?
[Updated on: Mon, 28 November 2011 21:43] Report message to a moderator
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03422 seconds