Threaded View

  1. #1
    Sencha User
    Join Date
    Sep 2010
    Location
    India
    Posts
    40
    Answers
    2
    Vote Rating
    0
    pratik016 is on a distinguished road

      0  

    Default Answered: ExtJS4 Calender issue in MVC

    Answered: ExtJS4 Calender issue in MVC


    Hello All,

    I have event calender of ExtJS4 MVC. I am loading all events from store load. All is working fine. But once I close window and reopen it, and try to load calender from store it throws me error. I am really helpless on it.
    Please help me if anyone have some ideas.

    1. My calender is in window.
    2. I load event from
    Code:
     Ext.getCmp('app-calendar').eventStore.load();
    3. After close and reopen window, I tried to load calander it throws me error

    Code:
    TypeError: el is null

    May be because of I remove component and reload this.
    Code:
     {
    			        xtype: 'calendarpanel',
    			        flex: 1,
    			        id: 'app-calendar',
    			        action: 'eventClicked',
    			        height: parseInt(Ext.getBody().getViewSize().height * (0.80)),
    			        eventStore: Ext.getStore('path.Store'),
    			        // eventStore: me.eventStore,
    			        //  calendarStore: this.calendarStore,
    			        border: false
    
    
    			    }
    Pls let me know if any query on question

  2. Hello Scott,

    I have also did for closeAction change to hide. But it seems like window close will destroy all events.

    But fortunately the problem is solved and I am surprising the way how it is solved.

    Might be something wrong in extend the proxy from MemoryEventStore..

    I have store for loading events in calender which extended from "Ext.calendar.data.MemoryEventStore" class as it should be. But one more proxy provided in this class. Now I have removed proxy from my own store and use the default proxy providing MemoryEventStore class. And problem is solved!!!!

    Thanks for support.

    Pratik

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