1. #1
    Ext User ilker's Avatar
    Join Date
    Sep 2008
    Posts
    115
    Vote Rating
    0
    ilker is on a distinguished road

      0  

    Exclamation Tab Panel Store Problem with gridPanel...

    Tab Panel Store Problem with gridPanel...


    i have two gridpanel separetely in each tab of a tab panel and when my page loads, these two gridpanels' actions work in order. But because of this one of my grid panel's data loaded from response but second one not loaded from the response...
    Code:
    Ext.onReady(function() {
        Ext.QuickTips.init();
        /**
         * tank verilerini ve panelini alip geriye dondurecek olan
         * fonksiyon
         */
        var getTankMevcutlari = function() {
            return new Ext.ux.Plugin.LiteRemoteComponent({ 
                url : 'JavaScriptFiles/UniteDetay/TankMevcutlari.json'
            });
        };
        var getPersonelBilgisi = function() {
            return new Ext.ux.Plugin.LiteRemoteComponent({
                url : 'JavaScriptFiles/UniteDetay/PersonelBilgisi.json'
            });
        }
        /**
         * Butun unite detay bilgilerini barindiricak tab paneli cizdir...
         */
        var tabPanel = new Ext.TabPanel({
            activeTab : 0,
            width : 720,
            //eger false olursa tab larin arkasina yeni bir katman getiriyor
            //cirkin bir goruntu...
            plain : true,
            defaults : {
                autoHeight : true,
                autoWidth : true
            },
            items : [
                {
                    title : 'Personel Bilgileri',
                    plugins : [getPersonelBilgisi()]
                },
                {
                    title : 'Tank Mevcutlari',
                    plugins : [getTankMevcutlari()]
                }
            ],
            renderTo : 'UniteDetayTabPanel'
        });
    });
    one of my gridpanel called Tank Mevcutlari's proxy is
    Code:
    proxy : new Ext.data.HttpProxy({
                url : 'GetTankMevcutlariAction.do'
            }),
    other's is
    Code:
    proxy : new Ext.data.HttpProxy({
                url : 'GetPersonelBilgisiAction.do'
            }),
    because of these two actions' invocation respectevly my second action's returned response does not load to my page and according to this problem my data not loaded to my grid panel ofc...
    my question is if there is a way to invoke these two actions seperately i mean when click TankMevcutlari tab only its action invokes not other one and so on...
    i hope i could tell my problem...

  2. #2
    Ext User ilker's Avatar
    Join Date
    Sep 2008
    Posts
    115
    Vote Rating
    0
    ilker is on a distinguished road

      0  

    Thumbs up


    aaa sorry for posting this thread ...
    i have found the answer to my question
    http://extjs.com/forum/archive/index.php/t-24087.html

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