1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    42
    Answers
    1
    Vote Rating
    0
    elnaz is on a distinguished road

      0  

    Default Unanswered: Can I use 3 different store in one class?

    Unanswered: Can I use 3 different store in one class?


    Hi ,

    I have a tab panel with 3 tab ,and inside of each tab there is a grid list,
    Can I use 3 different store in one class?
    and also all of the model have belongs To my Atho Model ,should I write model name for each of this grid? or should I put something like this in above class
    Code:
     model: 'AM.model.Atho'

    Code:
    
    
        extend: 'Ext.tab.Panel',
        alias:'widget.relationspanel',
    
    
        width: 350,
        border: true,
        maxHeight:280,
        bodyBorder: false,
        fieldDefaults: {
            labelWidth: 75,
            msgTarget: 'side'
        },
    
    
        items: [{
            title: 'Credential',
    	xtype: 'container',
           	items:[{
    	    align:'center',
    	    xtype:'gridpanel',
                store: 'StoreAutho',
    	   selType: 'checkboxmodel',
    	   multiSelect: true,
                columns: [
    	    	{header:'Method',dataIndex:'method', flex: 1,align:'center'},
    	    	{header:' Information',dataIndex:'Info', flex: 1,align:'center'},
    	    	
    	    ]
    	}]
    
    
        },{
            title: 'Public',
    	xtype: 'container',
           	items:[{
    	    align:'center',
    	    xtype:'gridpanel',
                store: 'Storetest',
    		selType: 'checkboxmodel',
    		multiSelect: true,
                   columns: [
    	    	{header:'test',dataIndex:'method', flex: 1,align:'center'},
    	    	{header:'test Information',dataIndex:'test', flex: 1,align:'center'},
    	    	
    	    ]
    	}]
        },{
            title: 'Profile',
    	xtype: 'container',
           	items:[{
    	    align:'center',
    	    xtype:'gridpanel',
                store: 'StoreAuthotest',
    	    selType: 'checkboxmodel',
    	    multiSelect: true,
                   columns: [
    	    	{header:'Method',dataIndex:'method', flex: 1,align:'center'},
    	    	{header:'Autho Information',dataIndex:'autho', flex: 1,align:'center'},
    	    	
    	    ]
    	}]
        }
               ]
    
    
        
    
    
    
    
        
    });

  2. #2
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,669
    Answers
    130
    Vote Rating
    110
    tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all

      0  

    Default


    you can create 3 new instances of the store and put them into the store config. The current MVC implementation is not designed to handle it yet, but there are some extensions and overrides in the forums -> use the search


    best regards
    tobiu
    Best regards
    Tobias Uhlig
    __________

    S-CIRCLES Social Network Engine

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi