items: [{
dataIndex: 'fileName',
header: 'fileName',
flex: 1
}, {
text: 'choose file...',
width: 80,
xtype: 'widgetcolumn',
dataIndex: 'file',
widget: {
xtype: 'filebutton',
text: 'test text',
overflowText : 'test overflow text',
listeners: {
change: 'onFileSelected'
}
}
}, {
xtype: 'actioncolumn',
header: 'delete',
align: 'center',
width: 50,
iconCls: 'ux-mu-icon-delete',
tooltip: 'delete',
bind: {
hidden: '{isReadOnly}'
},
defaultListenerScope: true,
handler: 'onItemDeleteClick'
}]
widgetcolumn-> xtype:文件按钮 属性文字:“测试文字”
查看屏幕截图,我找不到[测试文字]
错误?还是我的不幸? 帮帮我。