sencha touch 中获取picker的text值
- 作者: 问天要地
- 来源: 51数据库
- 2022-09-21
{ xtype:'picker', id:'picker', slots: [ { name: 'limit_speed', title: 'Speed', data: [ {text: '50 KB/s', value: 50}, {text: '100 KB/s', value: 100}, {text: '200 KB/s', value: 200}, {text: '300 KB/s', value: 300} ], listeners: { select:function( t, record, eOpts ){ alert(JSON.stringify(record.getData().text)); }} }, ] },
推荐阅读