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


    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).

    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')]
    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
    Vote Rating
    fmoseley is just really nice fmoseley is just really nice fmoseley is just really nice fmoseley is just really nice fmoseley is just really nice



    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

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