inputEx-library

inputEx  0.7.1

inputEx-library > inputEx > inputEx.TreeField
Search:
 
Filters

Class inputEx.TreeField - extends inputEx.ListField

Meta field to create trees

Constructor

inputEx.TreeField ( options )
Parameters:
options <Object> inputEx.Field options object

Properties inherited from inputEx.ListField:

Properties inherited from inputEx.Field:

Methods

getValue

Any getValue ( )
Get the value
Returns: Any
The tree object

renderComponent

void renderComponent ( )
Render the addButton and childContainer

renderSubField

inputEx.Field renderSubField ( value )
Adds a new line to the List Field
Parameters:
value <Any> Value of the subelement
Returns: inputEx.Field
instance of the created field (inputEx.Field or derivative)

setValue

void setValue ( obj , [sendUpdatedEvt] )
Set the value
Parameters:
obj <Any> The tree object
[sendUpdatedEvt] <boolean> (optional) Wether this setValue should fire the updatedEvt or not (default is true, pass false to NOT send the event)

Events inherited from inputEx.Field:


Copyright © 2011 Eric Abouaf All rights reserved.