TreeHandler
Name
Purpose
toggle (…)
The expand/Collapse function, Finds the current state of the row and changes it to the opposite. This may result in refreshing the page for legacy trees otherwise an ajax call is made to get new rows for the expand action.
collapseFolders (oid, action, list)
Will collapse a row or expand the folder row by changing its icon.
Param alist is a list of tree rows, if null it will be calculated from the page. It is faster to not lookup the list of tr nodes over and over.
Param action - 'c' or 'e' for the action type
Was this helpful?