inputEx-library

inputEx  0.7.1

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

Class inputEx.DSSelectField - extends inputEx.SelectField

Create a select field from a datasource

Constructor

inputEx.DSSelectField ( options )
Parameters:
options <Object> Added options:
  • options: list of option elements configurations
  • datasource: the datasource
  • valueKey: value key
  • labelKey: label key

Properties inherited from inputEx.Field:

Methods

onDatasourceFailure

void onDatasourceFailure ( )
Callback for request failure

onDatasourceSuccess

void onDatasourceSuccess ( )
Callback for request success

populateSelect

void populateSelect ( )
Insert the options

renderComponent

void renderComponent ( )
Build a select tag with options

sendDataRequest

void sendDataRequest ( )
Send the datasource request

setOptions

void setOptions ( options )
Setup the additional options for selectfield
Parameters:
options <Object> Options object as passed to the constructor

Events inherited from inputEx.Field:


Copyright © 2011 Eric Abouaf All rights reserved.