Board Logo

selected path
Sol405 - 2/27/2006 at 07:33 PM

Is there a way to get the currently selected path in a tree? I want to get the full path to a selected node. Is there an easy way to do that? If so could someone post some code or guide me in the right direction. thanks


tigra - 2/28/2006 at 07:00 PM

at http://www.softcomplex.com/products/tigra_tree_menu_pro/docs/#api

see o_selected property. this one will give you currently selected node, from there you go up by accessing o_parent reference in the item object while n_depth >= 0


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