小编Lan*_*ada的帖子

Sencha Touch:选项卡面板内的嵌套列表

我还是Sencha Touch/ExtJS的新手,我正在探索演示和入门样本.但我偶然发现了这个问题,当我在选项卡面板项目上插入嵌套列表时,我无法再导航列表项.

这是我的代码:

Ext.setup({
tabletStartupScreen: 'tablet_startup.png',
phoneStartupScreen: 'phone_startup.png',
icon: 'icon.png',
glossOnIcon: false,        

onReady: function(){ 

    // store with data
    var data = {
        text: 'Groceries',
        items: [{
            text: 'Drinks',
            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 …
Run Code Online (Sandbox Code Playgroud)

extjs sencha-touch

6
推荐指数
1
解决办法
1万
查看次数

标签 统计

extjs ×1

sencha-touch ×1