解决方案 »

  1.   

    我的节点内容是从后台传过来的,这个mystore是什么,是自己定义的treestore吗
      

  2.   

    //资产树数据源
    tree: Ext.create('Ext.data.TreeStore', {
     model:'Asset',
         autoLoad: true,
         folderSort:true,
         proxy: {
          type: 'ajax',
          timeout: 120000,//设置连接超时
          url: '../system/asset!tree.action',
         },
    }), region: 'west',
            title: '资产树',
         collapsible: true,
            autoScroll: true,
            titleAlign: 'center',
            split: true,
            weight: 50,
            width: '30%',
            xtype: 'treepanel',
             id: 'tree',
            rootVisible: false,
            animate: false,
            store: stores.tree,我的代码是这个,看不出来他是怎么排序的
      

  3.   

    sorters这个方法和store里的sorters用法一样吗