Hi I am working with Kendo scheduler with AngularJS. Only month view is activated. Sometime I am facing a problem which one I can not reproduce always. Upon double clicking on any date I am going to date edit page(diff html same controller). I am editing some thing there and after saving, coming back to scheduler. From the edit page, I can back to scheduler without editing anything. When I just coming back to scheduler without editing/saving anything sometime I found that date selection is not correct. For example, If I click 5 Jan, 4 Jan is being selected, If I click 28 FEB then 27 Feb is being selected. For the first date of each week (First cell of each row) is being selected correctly. Any Idea?
Here is my scheduler option
$scope.schedulerOptions = {
date: stDt ,
startTime: stDt,
min: $scope.minDate,
max: $scope.maxDate,
height: 750,
autobind:
true
,
views: [
{
type:
"month"
}
],
timezone:
"Etc/UTC"
,
dataSource: $scope.tmpltDS,
editable:
false
,
selectable:
true
,
change: scheduler_change,
dataBound: scheduler_dataBound
};
9 Answers, 1 is accepted
From the provided information it's not clear for me what is the exact setup that you have and what might be the reason for current behavior. Could you please provide runable example where it can be reproduced in order to investigate further current behavior?
Regards,
Vladimir Iliev
Telerik
As I mention in my previous reply I would need runable example where the issue is reproduced in order to investigate further this behavior.
Regards,
Vladimir Iliev
Telerik by Progress
Hi Vladimir,
The problem is in your official demo (we only added selectable: true):
http://dojo.telerik.com/OPIGe
In order to reproduce the issue, these are the
steps that we followed after adding the above line of code:
1. Select Month
View.
2. Select 03 June
2013 cell.
3. Select Day
View (the displayed day is 03 June 2013).
4. Return to
Month View.
5. Select 02 June
2013 cell.
6. Select Day
View.
7. Observe.
Actual Result:The
displayed date in Day View is again 03 June 2013
Expected Result: The
displayed date in Day View should be 02 June 2013
If you want, we can send you a short video.
Thank you in advance.
I tried to reproduce the issue in the provided demo but it's working as expected (2 June is selected correctly). That why we would need the following additional information to investigate further this behavior:
- browser and version used
- Kendo UI version used
- record small video if possible
- the timezone of the PC you are using
Regards,
Vladimir Iliev
Telerik by Progress
Hi Vladimir,
Kindly find below the information requested:
- browser and version used - Chrome Version 55.0.2883.87
- Kendo UI version used - 2017.1.118
- record small video if possible - please find the attached files (one is in .gif format, the other in .mp4)
- the timezone of the PC you are using -
Time zone: EET (Eastern Europe Time)
Current time zone offset: +02:00 hours
Hello Salim,
It is a bit weird behavior since I am testing the exact same demo with exact same time zone on my computer and it is working as expected. Please refer to the attached video. The only difference my browser version (Chrome Version 56.0.2924.76). Could you please double check the time zone on your computer and preferably test the same scenario (open the basic usage demo and enable the selectable option) on different machine/machines if possible?
Regards,Boyan Dimitrov
Telerik by Progress
Hi Boyan,
Try your demo with our "exact" scenario (the same days as in our scenario which are 2 adjacent ones) and you will get the problem
Thank you for the last clarification. Indeed the selection is not updated as you mention. I informed our dev team about it and they are after it. You can follow this issue in Github for updates on the matter.
Also as a small sign of appreciation I updated your telerik points.
Regards,
Vladimir Iliev
Telerik by Progress