secha触摸日历swarmonline mvc错误 [英] secha touch calendar swarmonline mvc bug

查看:138
本文介绍了secha触摸日历swarmonline mvc错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Sencha Touch日历扩展程序( http://www.sencha.com/forum/showthread.php?156351-Ext.ux.TouchCalendar )这是一个使用im的例子: http://www.swarmonline.com/Ext.ux.TouchCalendar/examples/simple-events-list.html

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

使用应用程序中的mvc文件夹。在更改事件
中有错误请按照以下步骤

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


  1. 加载mvc应用程序

  1. load mvc app

点击事件列表

3点击任何有事件的日期

3 click any date that have event

4然后点击期间变更

5其余的事件从日历中消失

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

解决方案

感谢您的快速回复...是的,我正在使用触摸日历简单的事件,这将调用每个蛾事件在不同的时期更改..我的问题解决了..我不知道什么问题我只是在时代的变化中恢复touchcalendarview。然后所有的点都像预期的那样来。谢谢帮助亲爱的...这个插件真的很棒..它的反弹帮助我在我目前的项目...

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

这篇关于secha触摸日历swarmonline mvc错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆