开发者

Condition if there exists any event at specific day

开发者 https://www.devze.com 2023-01-09 12:04 出处:网络
I just modified some functions such as extended drag and modify them to save a timestamp (start and end) into a hidden input (I send those informati开发者_开发知识库on to MySQL). But one of the condit

I just modified some functions such as extended drag and modify them to save a timestamp (start and end) into a hidden input (I send those informati开发者_开发知识库on to MySQL). But one of the conditions is that event that I dragged can't exist with another event in one day. Is there any method in fullcallendar that can tell me if that condition is fulfilled?

Thanks for answers. :)


You could implement the eventDrop function so that it calls clientEvents to see if there are any events that overlap the one that has been dropped.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号