Clear Up
SharpKit Reference

Select Class

Namespace: Ext.field

Base Types

System.Object

Constructors

Properties

Name Description
alias Simple Select field wrapper. Example usage:
  
new Ext.field.Select({
options: [
{text: 'First Option',  value: 'first'},
{text: 'Second Option', value: 'second'},
{text: 'Third Option',  value: 'third'}
]
});
            
alternateClassName
extend Simple Select field wrapper. Example usage:
  
new Ext.field.Select({
options: [
{text: 'First Option',  value: 'first'},
{text: 'Second Option', value: 'second'},
{text: 'Third Option',  value: 'third'}
]
});
            
record @private

Methods

Name Description
destroy()
getListPanel()
getPicker()
getValue()
initialize()
onListSelect(object, object)
onListTap()
onMaskTap()
onPickerChange(object, object)
reset() Resets the Select field to the value of the first record in the store. @return {Ext.field.Select} this
showComponent()
updateOptions(JsArray) Updates the underlying <options> list with new values. @param {Array} options An array of options configurations to insert or append.
  
selectBox.setOptions(
[   {text: 'First Option',  value: 'first'},
{text: 'Second Option', value: 'second'},
{text: 'Third Option',  value: 'third'}
]).setValue('third');
            
Note: option object member names should correspond with defined {@link #valueField valueField} and {@link #displayField displayField} values. @return {Ext.field.Select} this
updateStore(object)
updateValue(object, object)
© Copyright 2005-2011 SharpKit. All rights reserved.