Sencha touch 使用SENCHA导航到不同页面
我已经使用SENCHA呈现了一个列表。现在我想在单击列表中的项目时导航到不同的屏幕/加载不同的屏幕Sencha touch 使用SENCHA导航到不同页面,sencha-touch,Sencha Touch,我已经使用SENCHA呈现了一个列表。现在我想在单击列表中的项目时导航到不同的屏幕/加载不同的屏幕 var templist = new Ext.List( { title:"xmli", itemTpl : '{ename}', floating: true, indexBar: true, width: 350,
var templist = new Ext.List( {
title:"xmli",
itemTpl : '{ename}',
floating: true,
indexBar: true,
width: 350,
height: 370,
centered: true,
store:xmlStore,
modal: true,
onItemDisclosure: {
scope: 'test',
handler: function(record, btn, index) {
// I need to a load different page here how ?.
// ChangePage();
}
},
hideOnMaskTap: false
}).show();
请帮助我如何使用SENCHA实现这一点
谢谢,
Shyam您需要将此列表放在一个布局中,您可以将可见组件切换到不同的页面。听起来您可以使用卡片布局: