1. #11
    Sencha User skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,338
    Answers
    498
    Vote Rating
    248
    skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of

      0  

    Default


    this.store on the panel is the treestore. this.store on the view is the nodestore.

  2. #12
    Sencha User
    Join Date
    May 2011
    Posts
    70
    Answers
    4
    Vote Rating
    0
    gnube is on a distinguished road

      0  

    Default


    I may have a solution - its nearly time for me to get up so that would be about right.

    I found another set of nodes related to the 'view' in the treePanel. These were persisting from the viewConfig I had defined in my extension class - I have moved my declaration for the viewConfig down into my initComponent - this kind of thing...

    PHP Code:
    Ext.define('MyApp.view.TreeGridEditor.AppPanelTreeGrid', {
        
    extend'Ext.tree.Panel',

    //del        viewConfig =   {
    //del            forceFit: true,
    //del            emptyText: "  No records found.",                    
    //del            deferEmptyText: false,
    //del            toggleOnDblClick: false,
    //del           loadMask: false // http://www.sencha.com/forum/showthread.php?136528
    //del       }, 

        
    initComponent: function(){
            var 
    storeID = ..your id generation here...
            
    this.store Ext.create('MyApp.store.TreeGridEditor',{
                
    idstoreID,
                
    sorters: [{
                    
    property'ordinal'
                
    }]
            }); 
            
    this.viewConfig =   {
                
    forceFittrue,
                 
    emptyText"  No records found.",
                                    
    deferEmptyTextfalse,
                
    toggleOnDblClickfalse,
                
    loadMaskfalse // http://www.sencha.com/forum/showthread.php?136528
            
    }, 
            
    this.callParent(arguments); 
    Trap for new players I guess - I am happy to be the first to put my hand up to say I don't understand how these definitions are stored and updated yet - I don't really know what to search on to find stuff to read on it...

  3. #13
    Sencha User skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,338
    Answers
    498
    Vote Rating
    248
    skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of

      0  

    Default


    Oh, I see. That's really bad. I'd say it's a bug.

    It'll be this bit of Ext.tree.Panel that does it:

    Code:
    me.viewConfig = Ext.applyIf(me.viewConfig || {}, {
        rootVisible: me.rootVisible,
        animate: me.enableAnimations,
        singleExpand: me.singleExpand,
        node: me.store.getRootNode(),
        hideHeaders: me.hideHeaders
    });
    Ext.panel.Table should take a copy of the viewConfig but it doesn't. Nasty.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar