Board Logo

find_item
MakMoer - 3/7/2005 at 01:08 PM

Hi..

I have just purchased the PRO version and would like to select a specific node based on the caption.

I found this code in this forum :

new tree (TREE_ITEMS, TREE_TPL);

var s_caption = 'Address';
o_item = trees[0].find_item(s_caption);
o_item.select();

The problem is that I get the error : "trees[0].find_item is not a function".

Any ideas as to what I am doing wrong?


rock - 3/7/2005 at 01:25 PM

You can find the function usage in the product documentation.


MakMoer - 3/7/2005 at 03:07 PM

Hi..

Thanks..

My problem was firstly that I was being a dumbA$$ and not reading the manual properly. The sticky "Problem when upgrading from free version to PRO?" is there for a good reason, believe it or not !!

Secondly I needed to delete the cache in Firefox for the new js files to be used instead of the old ones in cache.

MM


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/