extjs - Sencha touch open select filed on button click -


i have selectfield show filtering values in app.. want show select filed buttonclick. when user click on button have fires select field values..

here code

  {                         xtype: 'selectfield',                         itemid: 'filterproperty',                         cls:'propertylistonmlscss',                         id:'filterproperty',                         name: 'filterproperty',                         autoselect: false,                         placeholder:'select',                         //labelwidth: '40%',                          options: [                             {text: 'select', value: '-1'},                             {text: 'n', value: 'n'},                             {text: 's',  value: 's'},                             {text: 'e',  value: 'e'},                             {text: 'w', value: 'w'},                             {text: 'nw',  value: 'nw'},                             {text: 'sw',  value: 'sw'},                             {text: 'ne',  value: 'ne'},                             {text: 'se',  value: 'se'}                         ]                     } 

this button code

{                         xtype:'button',                         cls:'settingssavebutton',                         itemid: 'settingssavebutton',                         id:'settingssavebutton',                         html:'save',                         docked: 'right',                         border:0                      } 

please me solve issue ..thanks in advance

use following method on selectfield:

showpicker() 

Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -