1. #1
    Sencha User
    Join Date
    Nov 2013
    Posts
    4
    Vote Rating
    0
    pallakg is on a distinguished road

      0  

    Default Unanswered: Calendar plugin is "hogging" the store

    Unanswered: Calendar plugin is "hogging" the store


    I am using https://github.com/SwarmOnline/Ext.ux.TouchCalendar in my app. I also want to display the calendar items on the home page as a list.

    It seems the plugin does not let me share the calendar store with other screens.
    This is the code for my calendar container (similar to working demo in link above).

    Code:
    Ext.define('app.view.Calendar', {
        extend: 'Ext.Container',
        requires: ['Ext.ux.TouchCalendarSimpleEvents'],
        xtype: 'calendarview',
        alias: 'widget.calendarview',
    
    
        config: {
            layout  : 'fit'
        },
        
        initialize: function(){
            var calendar = new Ext.ux.TouchCalendarView({
                            viewMode: 'month',
                            itemId: 'calendarView',
                            weekStart: 0,
                            value: new Date(),
                            eventStore: Ext.getStore('Appointments'),
                            
                            plugins: [Ext.create('Ext.ux.TouchCalendarSimpleEvents')]
                        });
           
            this.setItems([
                calendar
            ]);
    
    
            this.callParent(arguments);
        }
    });
    Initially the app shows the list items on the home page. Pressing calendar in the side bar menu and then returning to the home page shows "No appointments found".
    The plugins line above is the one which seems to be causing the problem. Is there any way to bind the plugin and still share the model?

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,911
    Answers
    328
    Vote Rating
    129
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      0  

    Default


    As this ux is not a Sencha supported product I would recommend contacting the author directly.
    Get more personalized support via a support subscription.

    Want to learn Sencha Touch 2? Check out
    Sencha training
    Sencha Touch in Action

    Need more help with your app? Hire Sencha Services services@sencha.com

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

Thread Participants: 1

Tags for this Thread

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