小编Mat*_*teo的帖子

Sencha Touch - 带有图像的List/nestesList

我今天早上开始使用Sencha Touch,我可以使用一些帮助.

如果我像这样创建一个nestedList:

var data = {
    text: 'Groceries',
    items: [{
        text: 'Ninja',
        items: [{
            text: 'Water',
            items: [{
                text: 'Sparkling',
                leaf: true
            },{
                text: 'Still',
                leaf: true
            }]
        },{
            text: 'Coffee',
            leaf: true
        },{
            text: 'Espresso',
            leaf: true
        },{
            text: 'Redbull',
            leaf: true
        },{
            text: 'Coke',
            leaf: true
        },{
            text: 'Diet Coke',
            leaf: true
        }]
    }],{
        text: 'Fruit',
        items: [{
            text: 'Bananas',
            leaf: true
        },{
            text: 'Lemon',
            leaf: true
        }]
    },{
        text: 'Snacks',
        items: [{
            text: 'Nuts',
            leaf: true …
Run Code Online (Sandbox Code Playgroud)

extjs image nested-lists sencha-touch

2
推荐指数
1
解决办法
7045
查看次数

标签 统计

extjs ×1

image ×1

nested-lists ×1

sencha-touch ×1