Extjs Accordion-Ux.layout.Accordion列表数据不显示sencha touch
我使用的是accordion布局,从商店加载的数据对折叠的项目很好,我们可以看到它何时被扩展,但对项目折叠:false,数据没有加载。它在Firefox上运行良好,但在Chrome和iOS模拟器上不工作。有人能帮我解决这个问题吗。我使用的是最新的sencha touch版本2.2.1 这是我的密码Extjs Accordion-Ux.layout.Accordion列表数据不显示sencha touch,extjs,sencha-touch,sencha-touch-2,sencha-touch-2.1,Extjs,Sencha Touch,Sencha Touch 2,Sencha Touch 2.1,我使用的是accordion布局,从商店加载的数据对折叠的项目很好,我们可以看到它何时被扩展,但对项目折叠:false,数据没有加载。它在Firefox上运行良好,但在Chrome和iOS模拟器上不工作。有人能帮我解决这个问题吗。我使用的是最新的sencha touch版本2.2.1 这是我的密码 config: { title: 'Check out', iconCls: 'truck', layout: { type: 'accord
config: {
title: 'Check out',
iconCls: 'truck',
layout: {
type: 'accordion',
toggleOnTitlebar: true,
mode: 'MULTIPLE',
},
scrollable: 'vertical',
items: [{
itemId: 'cartitems',
title: 'Cart Items List',
height: 600,
layout: 'fit',
collapsed: false,
items: [{
xtype: 'list',
scrollable: {
direction: 'vertical',
directionLock: true
},
itemTpl: '<div class="cartitemlist">{DESCRIPTION} Item ID:{REDID} Price:{Price}</div>',
store: 'CartStore'
}]
}
config:{
标题:“退房”,
iconCls:“卡车”,
布局:{
类型:“手风琴”,
toggleOnTitlebar:true,
模式:“多个”,
},
可滚动:“垂直”,
项目:[{
itemId:'cartitems',
标题:“购物车项目列表”,
身高:600,
布局:“适合”,
错误:,
项目:[{
xtype:'列表',
可滚动:{
方向:'垂直',
方向锁:正确
},
itemTpl:“{DESCRIPTION}项目ID:{REDID}价格:{Price}”,
商店:“CartStore”
}]
}
如果折叠:true,则会显示数据。但如果折叠:false,则数据不起作用。请尝试向列表视图添加高度
items: [{
xtype: 'list',
height: 500,
scrollable: {
direction: 'vertical',
directionLock: true
},
itemTpl: '<div class="cartitemlist">{DESCRIPTION} Item ID:{REDID} Price:{Price}</div>',
store: 'CartStore'
}]
项目:[{
xtype:'列表',
身高:500,
可滚动:{
方向:'垂直',
方向锁:正确
},
itemTpl:“{DESCRIPTION}项目ID:{REDID}价格:{Price}”,
商店:“CartStore”
}]
同时发布相关代码。如果不显示任何代码,您几乎不会得到任何帮助。添加了代码。如果您能提供帮助,将不胜感激