dongying3744 2012-02-01 01:05
浏览 397
已采纳

jQuery fullcalendar:如何保存拖动和重新调整大小的项目

Since yesterday I am looking for a way to save (mysql + php) dragged and re-sized items with jQuery fullcalendar. There are no tutorials and just a few examples. Can someone post his working json.php, json-events.php and external database update scripts? Or guide me to the best explanations, tutorials or examples?

I'm trying to get this fully working

all help much appreciated!

  • 写回答

2条回答 默认 最新

  • doucong3048 2012-02-07 09:21
    关注

    it may not fully answered your question, but hope this will point you to the right direction. Basically I'm trying to do the same thing but in ASP .NET, using the calendar as the data manipulator and somehow capture the updated events from the calendar and send back to the server for updates.

    I noticed that there are a few event callbacks which might be useful.

    1. The eventDrop callback - fired when an event is dropped/moved on the calendar http://arshaw.com/fullcalendar/docs/event_ui/eventDrop/

    2. The eventResize callback - fired when an event is resized http://arshaw.com/fullcalendar/docs/event_ui/eventResize/

    I suppose you could then make ajax calls to the server with the involved events detail in order to update the events accordingly.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 js调用html页面需要隐藏某个按钮
  • ¥15 ads仿真结果在圆图上是怎么读数的
  • ¥20 Cotex M3的调试和程序执行方式是什么样的?
  • ¥20 java项目连接sqlserver时报ssl相关错误
  • ¥15 一道python难题3
  • ¥15 牛顿斯科特系数表表示
  • ¥15 arduino 步进电机
  • ¥20 程序进入HardFault_Handler
  • ¥15 关于#python#的问题:自动化测试
  • ¥20 问题请教!vue项目关于Nginx配置nonce安全策略的问题