Constructor Summary
| Public Constructor | ||
| public | 
       constructor(id: String, options: Object) Constructor  | 
    |
Method Summary
| Public Methods | ||
| public | 
       clear(): Null Remove all nodes  | 
    |
| public | 
      
       Return the number of nodes  | 
    |
| public | 
       getNodeByKey(key: String): TreeViewNode Return node with a given key or null if not found  | 
    |
| public | 
      
       ����ͼ�ؼ����¼�������Դ  | 
    |
| public | 
      
       Call fn(node) for all nodes  | 
    |
Public Constructors
public constructor(id: String, options: Object) source
Constructor
Params:
| Name | Type | Attribute | Description | 
| id | String | treeview id  | 
    |
| options | Object | config params  | 
    |
| options.checkbox | Boolean | display checkboxes to allow selection (default: false)..  | 
    |
| options.imagePath | String | path to a folder containing icons (default: null, using 'skin/' subdirectory).  | 
    |
| options.selectMode | Number | 1:single, 2:multi, 3:multi-hier (default: 2).  | 
    |
| options.source | Array | used to initialize the tree.  | 
    
Emit:
click  | 
        fired when an item is clicked by the user. (Events are called like this: CALLBACK_NAME(event, data))  | 
      
fired when an item is (de)selected by the user. (Events are called like this: CALLBACK_NAME(event, data))  | 
      
Public Methods
public getNodeByKey(key: String): TreeViewNode source
Return node with a given key or null if not found
Params:
| Name | Type | Attribute | Description | 
| key | String | the node's key  | 
    
  
  Reference
  Source