Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #11
    Sencha User metalinspired's Avatar
    Join Date
    Apr 2012
    Posts
    98
    Answers
    4
    Vote Rating
    4
    metalinspired is on a distinguished road

      0  

    Default


    skirtle is right.
    try adding this to StandardGraphStore
    Code:
    initComponent: function() {
      var store = Ext.getStore('StandardGraphStore');
      if (!store) {
        store = Ext.create('TAB.store.StandardGraphStore');
      }
      store.load();
    }
    Last edited by metalinspired; 4 Oct 2012 at 8:49 AM. Reason: corrected error in code

  2. #12
    Sencha User
    Join Date
    May 2010
    Location
    Belgium
    Posts
    204
    Answers
    3
    Vote Rating
    1
    marxan is on a distinguished road

      0  

    Default SOLVED

    SOLVED


    Indeed it was the problem! Don't why I forgot to load it!

    Here's my working code.

    Thanks a lot for your help.

    Code:
    Ext.define('TAB.controller.GraphOptions', {    extend: 'Ext.app.Controller',
         model: ['StandardGraphModel'],
        stores: ['StandardGraphStore'],
        views: ['GraphOptions','StandardGraph', 'GraphContainer'],
     
        init: function () {
            var me = this;
    
    
            this.control({
            	 '#generateChart': {
                    click: this.generateChart
                }
           })
        },
        
         generateChart: function (value){
     	 var grid = Ext.getCmp('StandardGraphId');
             var store = Ext.getStore('StandardGraphStore');	
             
             store.proxy.extraParams = {
    	        	codes: Global.codeListToLoad
    	        }
    	        
             store.load();
    	 Ext.widget('graphcontainer').show();
    	}
        	
         }
    });

Thread Participants: 2