jQWidgets Forums
jQuery UI Widgets › Forums › Scheduler › Calendar distorted when dragging and resizing
Tagged: jquery scheduler, jquery scheduling, jqxScheduler, scheduler, schedulers
This topic contains 7 replies, has 2 voices, and was last updated by Peter Stoev 9 years, 4 months ago.
-
Author
-
Hi. I’m having problems with dragging and resizing appointments. When I try to drag an appointment to a specified time, the calendar line gets distorted as well as the row and column headers (date and time when the weekly view is set) causing the appointment to be placed on a different time cell. And sometimes, the appointment itself gets lost.
Sorry for the bother.
Hi ncds,
We cannot reproduce this.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comDo you have a demo for saving (and loading) appointments to (and from) a database? Because that’s what I needed to do and when I tried it, that’s when I had problems with the distorted calendar.
Hi ncds,
You can share a demo on https://www.jseditor.io/ which shows that there is a problem with our Scheduler. In general, how you load the appointments does not matter if the initialization is correct and done as shown in the samples and documentation.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comI can’t make a demo on your editor because I’m trying to get the data from the database.
If I have this [{“id”:”5″,”appointment_id”:””,”subject”:”sheeeee”,”location”:”qaaa”,”description”:”aaaa”,”start”:”2015-11-23 09:00:00″,”end”:”2015-11-23 16:00:00″,”draggable”:”0″,”resizable”:”0″},{“id”:”6″,”appointment_id”:””,”subject”:”lalala”,”location”:”alalala”,”description”:”laaaalaaa”,”start”:”2015-11-24 10:00:00″,”end”:”2015-11-24 15:00:00″,”draggable”:”0″,”resizable”:”0″}] in my localhost url, will it work properly? I’m afraid the deformed grid lines when dragging or resizing is because of the date format.
Hi ncds,
If you have this, you will have to implement proper data binding through jqxDataAdapter. If your Dates are such strings, you will have to parse them to Date objects.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comI tried printing the contents of the adapter’s records and I saw that the dates are in this format Tue Nov 24 2015 05:00:00 GMT+0800 (Malay Peninsula Standard Time) Is it different from the way dates should be in the scheduler? Because I think it’s the same, but I’m still having problems with dragging and resizing.
Hi ncds,
If you do not wish to provide an example, I do not see how we would be able to proceed further in helping you
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.