由于panel沒有點選事件很多功能實作不了
如果需要點選跳轉,
在controller中設定activeitem下面為panel控件添加點選事件即可。
我的代碼:
Ext.Viewport.setActiveItem(item.getPersonal());
//mine_2id 為panel id
Ext.getCmp('mine_2id').element.on({
tap : function() {
item.redirectTo('mine_txmsg');
}
});