Results 1 to 2 of 2

Thread: "NestedList" display nothing in Android4.0 by phonegap or Native build

  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    6
    Vote Rating
    0
      0  

    Default "NestedList" display nothing in Android4.0 by phonegap or Native build

    "NestedList" display nothing in Android4.0 by phonegap or Native build

    Dear All,

    1) NestedList run very well in Android 2.3

    "NestedList" can display ok in Andorid 4.0 by Default Browser;
    but can't display in Android4.0 by phonegap or Native build

    can you tell me why , thank you very very much!


    ===================================
    phonegap version: 1.3/1.6/1.8
    sencha touch : 2.0

    my source are as follows:


    1)divisionDataStore.js
    Ext.define('App.store.divisionDataStore', {
    extend: 'Ext.data.TreeStore',
    config: {
    autoLoad: true,

    model: 'App.model.dataMod',
    proxy: {
    noCache: false,
    enablePagingParams: false,
    type: 'ajax',
    url: './app/data/divisionData.json',
    reader: {
    type: 'json',
    rootProperty: 'items'
    }
    },
    }
    });


    2) divisionListView.js
    Ext.define('App.view.division.divisionListView', {
    extend: 'Ext.dataview.NestedList',
    xtype: 'divisionListView',
    id: 'divisionListView',

    config: {
    title: '??',
    cls:'classify_panel',
    toolbar: {
    xtype: 'toolbar',
    id: 'divisionToolbar',
    items: [
    {
    xtype:'spacer',
    },
    {
    align:'right',
    text:'??',
    ui:'divisonFavor',
    id: 'divisonFavor',
    hidden:true,
    }
    ]
    },
    useTitleAsBackText: false,
    onItemDisclosure: false,
    store: 'divisionDataStore',
    detailCard: {
    xtype: 'divisionShowView',
    id: 'detailCard',
    cls:'showiner',
    },


    zIndex: 0
    },

    getTitleTextTpl: function() {
    return '<div class="fontsize">{title}</div>';
    },

    getItemTextTpl: function(node) {
    return '<DIV class="classify_font ">' +
    '<div class="classifyleft">'+
    '{title}' +
    '</div>'+
    '<div class="classifyright">'+
    '</div>'+
    '</DIV>';
    },
    });

  2. #2
    Sencha User
    Join Date
    Dec 2011
    Posts
    6
    Vote Rating
    0
      0  

    Default help please

    help please, thank you very much!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •