HI ,
I am having problem on event collision . Actually the problem is , I dont want any one to create two events at the same time . It is working fine . But at the time of drag n drop of event , It creating two events at the same time . How can i stop it .
It creates, but after mouse releasing - original positions restores, so no collision occurs, right ?
Yes you are right , after mouse releasing - original positions restores But only in case of when we are in the rooms , and we are trying to drag an event of one room onto another event of another room . It is fine , But when I am in the day view and I drag one event onto other one it is overriding .
I have one more requirment . I want to block few minutes after each event created.
Please send me a sample application If you can.
Please Relpy ASAP.
when I am in the day view and I drag one event onto other one it is overriding
Actually it must block such operation and restore original state.
If issue still occurs for you - please provide any kind of sample or demo link where issue can be reconstructed.
I want to block few minutes after each event created.
There is no easy way to do it. You can extend length of event, on those few minutes ( it can be done transparent for user, from some of event handlers )
HI ,
Please find the sample application .
Issue 1 :- I dont want to ovverride any event within the same room or from the different rooms .
Issue 2 : - I want to block few minutes after each event created for a room .
Please find attached application and let me know where I need to make changes .
Thanks
(1)
In scheduler_collision.js replace next lines
[code] var count = 0;
for (var i = 0; i < evs.length; i++)
if (evs[i][map_to] == ev[map_to] && evs[i].id != ev.id)
count++;
if (count >= collision_limit) {
ev[map_to] = temp_section; // from _setTempSection for custom views
single = false;
}[/code]
with
if (evs.length >= collision_limit) {
ev[map_to] = temp_section; // from _setTempSection for custom views
single = false;
}
HI,
Please let me know , how to implement auto sync events from database to scheduler . In case of multiuser . I am using MVC controller as data connector
ex:- scheduler.load("/Calendar/Data"); )