【发布时间】:2013-11-29 20:39:31
【问题描述】:
Ext.define('myapp.view.alerts.Alerts', {
extend : 'Ext.List',
fullscreen: true,
itemTpl: '{title}',
data: [
{ title: 'Item 1' },
{ title: 'Item 2' },
{ title: 'Item 3' },
{ title: 'Item 4' }
]
});
显示列表,但不显示其中的文本。为什么会这样?这是 Sencha Docs 的例子。 http://docs.sencha.com/touch/2.3.1/#!/api/Ext.dataview.List请帮忙。
【问题讨论】:
标签: extjs sencha-touch sencha-touch-2