Tree Selection for Queue, Service, etc. with JSTree.
        
        
- Source:
 
Methods
- 
    
        
(static) BuildElementsArray($Element, Sort) → {Object}
 - 
    
    This function receives a select element which was built with TreeView => 1 (= intended elements) and builds a javascript object from it which contains all the elements and their children.
Parameters:
Name Type Description $ElementjQueryObject The select element which contains the data. SortBoolean Whether to sort the elements alphabetically (optional, default: true) - Source:
 
Returns:
Returns an object which is suitable for passing to JSTree in order to build a tree selection.- Type
 - Object
 
 - 
    
        
(static) Init()
 - 
    
    Initializes the namespace.
- Source:
 
 - 
    
        
(static) InitDynamicFieldTreeViewRestore()
 - 
    
    Initially display dynamic fields with TreeMode = 1 correctly.
- Source:
 
 - 
    
        
(static) InitTreeSelection()
 - 
    
    To bind click event no tree selection icons next to select boxes.
- Source:
 
 - 
    
        
(static) RestoreDynamicFieldTreeView($FieldObj, Data, CheckClass, AJAXUpdate) → {Boolean}
 - 
    
    Restores tree view (intended values) for dynamic fields.
Parameters:
Name Type Description $FieldObjjQueryObject DataArray CheckClassBoolean AJAXUpdateNumber - Source:
 
Returns:
False on error.- Type
 - Boolean
 
 - 
    
        
(static) ShowTreeSelection($TriggerObj) → {Boolean}
 - 
    
    Open the tree view selection dialog.
Parameters:
Name Type Description $TriggerObjjQueryObject Object for which the event was triggered. - Source:
 
Returns:
Returns false on error.- Type
 - Boolean