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.find_item("Client");)
What am I missing? or does the find_item function not work with dynamically generated mysql/php tree menus?
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.