inputEx-library

inputEx  0.7.1

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

Class inputEx.MultiSelectField - extends inputEx.SelectField

Known Subclasses:
inputEx.MultiSelectFieldCustom
Create a multi select field

Constructor

inputEx.MultiSelectField ( ]) )
Parameters:
]) <Object} options Added options:
  • choices: contains the list of choices configs ([{value:'usa'}, {value:'fr', label:'France'>

Properties inherited from inputEx.Field:

Methods

getValue

Any getValue ( )
Return the value
Returns: Any
an array of selected values

initEvents

void initEvents ( )
Register the "change" event

onAddNewItem

void onAddNewItem ( )
Add an item to the list when the select changed

onItemRemoved

void onItemRemoved ( )
Re-enable the option element when an item is removed by the user

renderComponent

void renderComponent ( )
Build the DDList

setValue

void setValue ( value , [sendUpdatedEvt] )
Set the value of the list
Parameters:
value <String> The value to set
[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.