secha touch calendar swarmonline mvc bug

若如初见. 提交于 2019-12-23 04:35:17

问题


I'm trying to work with a Sencha Touch calendar extension (http://www.sencha.com/forum/showthread.php?156351-Ext.ux.TouchCalendar) Here is an example of what im using: http://www.swarmonline.com/Ext.ux.TouchCalendar/examples/simple-events-list.html

Am using the mvc folder in the app.. there is bug in period change event please follow these steps

  1. load mvc app

  2. click event list

3 click any date that have event

4 Then click period change

5 Rest of the events are gone from the calendar

Am trying hard to fix this issue.. please help me solve it.. your help is much appreciated thanks in advance


回答1:


Thanks for the quick reply...Yes i am using touch calendar simple events, that will call each moth events in separate period change..My problem is solved.. I dont know what was issue i just refresth the touchcalendarview in period change. Then all the dots are coming as expected..Thanks for the help dear..This plugin is really awesome.. Its rally helped me in my current project...

this is what i did in my period change function

onPeriodChange: function(view, minDate, maxDate, direction){
        var monthstartdate = Ext.Date.format(minDate, 'm/d/Y');
        var url = 'http://test.example.in:8081/CRM_API/TaskCalendar.ashx?';
        var urlafter = url + 'monthstartdate='+ monthstartdate;
        var group_store = Ext.getStore("Events");
        group_store.getProxy().setUrl(urlafter);
        group_store.load(function(){

            Ext.getCmp('touchcalendarview').refresh();
        });

}

Once again thanks for the help...



来源:https://stackoverflow.com/questions/17058053/secha-touch-calendar-swarmonline-mvc-bug

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!