PDA

View Full Version : Picker for combobox



gameboy87
5 Apr 2012, 5:29 AM
How to create picker for Combobox ? and how to implement the same ? I am trying to implement my own doAutoSelect function for the combobox. as in document

"extjs/docs/source/ComboBox.html#Ext-form-field-ComboBox-cfg-autoSelect"

Please help !

scottmartin
5 Apr 2012, 6:16 AM
This should get you started.



Ext.create('Ext.form.field.Picker', {
renderTo: Ext.getBody(),
createPicker: function() {
// your code here
}
});


Regards,
Scott.

gameboy87
5 Apr 2012, 7:50 PM
Thanks for the reply scott. But, how to use it with combo ?


This should get you started.



Ext.create('Ext.form.field.Picker', {
renderTo: Ext.getBody(),
createPicker: function() {
// your code here
}
});


Regards,
Scott.