projects/components/widgets/basic/tree/src/tree.component.doc.ts
The 'wmTree' directive used to represent data in hierarchical format..
Methods |
Inputs |
onCollapse | ||||||||||||||||||||
onCollapse($event: MouseEvent, widget: any, $item: any, $path: any)
|
||||||||||||||||||||
Callback function which will be triggered when the tree node is collapsed.
Parameters :
Returns :
void
|
onExpand | ||||||||||||||||||||
onExpand($event: MouseEvent, widget: any, $item: any, $path: any)
|
||||||||||||||||||||
Callback function which will be triggered when the tree node is expanded.
Parameters :
Returns :
void
|
onSelect | ||||||||||||||||
onSelect($event: MouseEvent, widget: any, $item: any)
|
||||||||||||||||
Callback function which will be triggered when the tree node is selected.
Parameters :
Returns :
void
|
class |
Type : string
|
Class of the widget. |
dataset |
Type : any
|
Default value : 'node1, node2, node3'
|
Set this property to a variable to populate the list of values to display. Bindable: |
levels |
Type : number
|
Default value : 0
|
This property is used to set depth in terms of the levels of the tree to be expanded by default. |
name |
Type : string
|
Name of the tree widget. |
nodeaction |
Type : string
|
This property is used to set action for particular node. Bindable: |
nodechildren |
Type : string
|
This property is used to set children for particular node. Bindable: |
nodeclick |
Type : string
|
Default value : 'none'
|
This property is used to expand the node when it is clicked. Allowed Values:
|
nodeicon |
Type : string
|
This property is used to set icon for node. Bindable: |
nodeid |
Type : string
|
This property is used to set id for nodes. Bindable: |
nodelabel |
Type : string
|
This property is used to set label for node. Bindable: |
orderby |
Type : string
|
This Property allows user for multiple selection for ordering the display of rows based on fields in ascending or descending order. |
show |
Type : boolean
|
Default value : true
|
This property will be used to show/hide the tree widget on the web page. Bindable: |
tabindex |
Type : number
|
Default value : 0
|
This property specifies the tab order of the Tree Widget. |
treeicons |
Type : string
|
This property specifies expand/collapse icons for tree widget. Allowed Values: |