Results 1 to 5 of 5

Thread: ExtJS4 Calender issue in MVC

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Sep 2010
    Vote Rating

    Default 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
    3. After close and reopen window, I tried to load calander it throws me error

    TypeError: el is null

    May be because of I remove component and reload this.
    			        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 "" 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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts