Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
FullCalendar に変更を拒否する方法はありますか? たとえば、イベントを移動してからサーバー関数を呼び出してデータベースを更新するときに、それが false (データベースの更新に失敗) を返した場合、ビューがデータベースに同期されたままになるように変更を拒否できますか?
ありがとう
イベントの移動にドラッグ アンド ドロップを使用している場合は、Ajax 呼び出しが失敗した場合に状態を元に戻すために使用できるオプションeventDropがあるコールバックを確認してください。revertFunc
eventDrop
revertFunc
arshaw.com/fullcalendar/docs/event_ui/eventDrop