Month View Serious Issue

  1. Go to “samples\05_calendar\04_layout.html”
  2. Select Month View
  3. Add up to 10 events in first day of month (like in image attached)
  4. Now try to drag any event in any of one row below.

Problem:
It skips the whole row. If I drop event in 13th day (I am trying to drop in 6th date), it goes in the 6th date.

Please check this.


Hello,

That’s the default behavior. Please note though that then you release mouse button it will be rerendered and take it’s place.

Kind regards,
Ilya

Sorry, I’ve misread your post. This is indeed very confusing in this case.
Thank you for reporting this problem, we will see how to improve it.

For now you can use following option:

scheduler.attachEvent("onBeforeViewChange", function (old_mode, old_date, mode, date) { scheduler.config.update_render = (mode == "month"); return true; });
Kind regards,
Ilya

Thanks! This seems to work fine :slight_smile:

In month view if we create large number of events i.e., 20, then we are unable to drag event from 1st date to any date below 17th date (PFA image) while using the following:

scheduler.attachEvent(“onBeforeViewChange”, function (old_mode, old_date, mode, date) {
scheduler.config.update_render = (mode == “month”);
return true;
});


Hello,

Why? What seems to be the problem?
Tried it locally - worked fine for me.

Kind regards,
Ilya

Well… Maybe you screen height is large enough to view all dates. When I try to create 20 events in 1st date of month, then I can only see up to 3 rows. from 1st to 17th. Now, when I try to drag an event from day 1 to lets say 30th, I can’t take it down while dragging and trying to scroll down. Because the view get refreshed and the scroll gets up on refresh instead of continuously getting down.

Regards,
OT

Is there any update on this? When we get large number of Events in starting day of a month (due to which scrollbar comes), we simply can’t drag the event to some last day of month because view is updated and scrollbar gets on top again.

Regards,
OT

Hello,

I’ve tried to the following:

  • created lots of events on the 1st day of the month. Now can see only 2 rows.
  • started dragging one event the 31st. Used scroll wheel to scroll.

Works fine, scroll doesn’t jumps to the top as you are dragging event.
Am I missing something?

Kind regards,
Ilya

It’s not working for me :frowning:

Have you added this piece of code as well?

scheduler.attachEvent(“onBeforeViewChange”, function (old_mode, old_date, mode, date) {
scheduler.config.update_render = (mode == “month”);
return true;
});

Considering August 2012, when large number of events for 1st August are created so that only 1- 19 dates are visible. Now, when I try to drag an event from 1st August, (left mouse button is pressed -not released yet). I scroll down to see dates from 20-31st August. As soon as I move the event in any date from 20-31st (left mouse button is still pressed ), it simply doesn’t allows to move the event in any of the dates from 20-31st because view is updates and scroll bar moves to top again showing dates from 1-19.

Regards,
OT

What version are you using? I’ve tested against 3.5, can you test there as well?

Best regards,
Ilya

I was using version 3.0… It is working fine for 3.5… Thanks!

Regards,
OT