lcalcote
Newbie
Posts: 1
Registered: 8/21/2004
Member Is Offline
|
| posted on 8/21/2004 at 03:56 PM |
|
|
Do openItemByCaption or find_item functions work with trees built from build_hierarchy_var function?
I build a tree using the build_hierarchy_var function and try to search by caption using the openItemByCaption function (or more specifically the
find_item function) and have no luck matching my search criteria.
I use the sql table "products" provided by SoftComplex and make the following call as an example -->
openItemByCaption("Client"); (or more specifically TREES[0].find_item("Client");)
What am I missing? or does the find_item function not work with dynamically generated mysql/php tree menus?
|
|
|
rock
Moderator
Posts: 687
Registered: 4/15/2003
Member Is Offline
|
| posted on 8/23/2004 at 08:43 AM |
|
|
Of cause there is no difference whether you serach within dynamically generated hierarchy or within hard-coded one. Maybe the reason is in the
function return value. It should be an array.
|
|
|