Scheduler Events spll over - going outside the scheduler are


Hello,

Please see attached image. The appointment marked by arrow is going outside the scheduler area.
Please help!

Thanks,
Mandar

Hello,

Please, try to update your version of the Scheduler.

If the problem still occurs - we need to reproduce the issue locally. For it we need the data from the last column on the screenshot, 5 May. Please, send us the data in json format or in another one you use.

Hello,

Please find below the JSON as requested. Also find attached screenshot for the JSON output.
It shows one appointment very tiny. (as shown in screenshot)

Could you please help.

Thanks,
Mandar


[{
“start_date”: “2017-08-08 12:00 pm”,
“end_date”: “2017-08-08 12:45 pm”,
“TherapistId”: 1505,
“text”: " ()- * ",
“description”: “LunchLunch”,
“Srowid”: 1577444,
“color”: “#FFFB87”,
“ApptType”: 11,
“PatientId”: 0,
“CanCode”: 0,
“CheckedIn”: “0”,
“updatedby”: “A123”,
“updatedts”: “Aug 7 2017 5:11AM”,
“Copay”: “0”,
“Transport”: “0”,
“DescLong”: “Lunch”
}, {
“start_date”: “2017-08-08 14:00 pm”,
“end_date”: “2017-08-08 15:00 pm”,
“TherapistId”: 1505,
“text”: " ()- ",
“description”: “ ”,
“Srowid”: 2083847,
“color”: “#E3E3E3”,
“ApptType”: 3,
“PatientId”: 99999,
“CanCode”: 0,
“CheckedIn”: “0”,
“updatedby”: “A123”,
“updatedts”: “Aug 7 2017 5:12AM”,
“Copay”: “0”,
“Transport”: “0”,
“DescLong”: “”
}, {
“start_date”: “2017-08-08 13:00 pm”,
“end_date”: “2017-08-08 17:15 pm”,
“TherapistId”: 1505,
“text”: " ()- * ",
“description”: “IE Tyler Noblitt- FCE”,
“Srowid”: 2137623,
“color”: “#FF7DF2”,
“ApptType”: 1,
“PatientId”: 99999,
“CanCode”: 0,
“CheckedIn”: “0”,
“updatedby”: “A123”,
“updatedts”: “Aug 7 2017 5:14AM”,
“Copay”: “0”,
“Transport”: “0”,
“DescLong”: “Tyler Noblitt- FCE”
}, {
“start_date”: “2017-08-08 11:30 am”,
“end_date”: “2017-08-08 4:00 pm”,
“TherapistId”: 1505,
“text”: "ABC XYZ (222)888-9999 ",
“description”: “ ”,
“Srowid”: 2137624,
“color”: “#61FFEA”,
“ApptType”: 7,
“PatientId”: 88883,
“CanCode”: 0,
“CheckedIn”: “0”,
“updatedby”: “A123”,
“updatedts”: “Aug 7 2017 5:13AM”,
“Copay”: “0”,
“Transport”: “0”,
“DescLong”: “”
}, {
“start_date”: “2017-08-08 11:00 am”,
“end_date”: “2017-08-08 15:00 pm”,
“TherapistId”: 1505,
“text”: "GGG TTT (000)888-7777 * ",
“description”: “ WCP”,
“Srowid”: 2137625,
“color”: “#61FFEA”,
“ApptType”: 7,
“PatientId”: 92355,
“CanCode”: 0,
“CheckedIn”: “0”,
“updatedby”: “A123”,
“updatedts”: “Aug 7 2017 5:14AM”,
“Copay”: “0”,
“Transport”: “0”,
“DescLong”: “WCP”
}, {
“start_date”: “2017-08-08 13:00 pm”,
“end_date”: “2017-08-08 14:00 pm”,
“TherapistId”: 1505,
“text”: "JJJ KKK (099)444-7777 ",
“description”: “ ”,
“Srowid”: 2137626,
“color”: “#61FFEA”,
“ApptType”: 7,
“PatientId”: 74517,
“CanCode”: 0,
“CheckedIn”: “0”,
“updatedby”: “a123”,
“updatedts”: “Aug 7 2017 5:22AM”,
“Copay”: “0”,
“Transport”: “0”,
“DescLong”: “”
}, {
“start_date”: “2017-08-08 14:00 pm”,
“end_date”: “2017-08-08 15:00 pm”,
“TherapistId”: 1505,
“text”: "KKK UUU (888)111-1111 * ",
“description”: “ CP 35”,
“Srowid”: 2137627,
“color”: “#2DE051”,
“ApptType”: 33,
“PatientId”: 93400,
“CanCode”: 0,
“CheckedIn”: “0”,
“updatedby”: “a123”,
“updatedts”: “Aug 7 2017 5:21AM”,
“Copay”: “1”,
“Transport”: “0”,
“DescLong”: “35”
}, {
“start_date”: “2017-08-08 11:00 am”,
“end_date”: “2017-08-08 12:00 pm”,
“TherapistId”: 1505,
“text”: "JJJ YYY ()- * “,
“description”: “ MCR”,
“Srowid”: 2137628,
“color”: “#61FFEA”,
“ApptType”: 7,
“PatientId”: 77185,
“CanCode”: 0,
“CheckedIn”: “0”,
“updatedby”: “A123”,
“updatedts”: “Aug 7 2017 5:19AM”,
“Copay”: “0”,
“Transport”: “0”,
“DescLong”: " MCR”
}, {
“start_date”: “2017-08-08 11:00 am”,
“end_date”: “2017-08-08 12:00 pm”,
“TherapistId”: 1505,
“text”: "LLL OOO (666)555-4444 ",
“description”: “ ”,
“Srowid”: 2137629,
“color”: “#61FFEA”,
“ApptType”: 7,
“PatientId”: 84520,
“CanCode”: 0,
“CheckedIn”: “0”,
“updatedby”: “A123”,
“updatedts”: “Aug 7 2017 5:20AM”,
“Copay”: “0”,
“Transport”: “0”,
“DescLong”: “”
}, {
“start_date”: “2017-08-08 08:00 am”,
“end_date”: “2017-08-08 12:00 pm”,
“TherapistId”: 1505,
“text”: "RRR HHH (888)808-1111 * ",
“description”: “ WCP”,
“Srowid”: 2137630,
“color”: “#61FFEA”,
“ApptType”: 7,
“PatientId”: 88781,
“CanCode”: 0,
“CheckedIn”: “0”,
“updatedby”: “A123”,
“updatedts”: “Aug 7 2017 5:16AM”,
“Copay”: “0”,
“Transport”: “0”,
“DescLong”: “WCP”
}]


Hi,

I tried to reproduce issue using your data, but the problem doesn’t occur. By default events are occupied the first available place on top and left. Perhaps you made some changes in the source code which cause this problem. Please check it.
docs.dhtmlx.com/scheduler/snippet/ca28c8ec

We need the ooprtunity to reproduce the issue. It will be nice if you can create a demo or provide with access to your application.

Thanks a lot for quick reply.
Is there a way I can share my dhtmlx js and css files?
This forum does not allow that.
May be by looking at those files, you can figure out the issue?

Thanks,
Mandar

Hi,
unfortunately, we can’t debug your code, given that you have a customized version of scheduler. Please contact our sales team at sales@dhtmlx.com if you want us to investigate the issue on your version of the scheduler.
One quick patch you can try - most probably the issue happens in scheduler._pre_render_events_line method, and if there was a fix - it was done in that method:
github.com/DHTMLX/scheduler/blo … r.js#L4846
You can update pre_render_events_line in your version of scheduler with the latest code from github (link above) - it may fix the issue.