According to the documentation for Scheduler.select() this method should "Gets or sets the events (or slots) which are selected." But if I pass in an array of multiple uid elements it only selects the last item in the array.
Code
jsbin example: https://jsbin.com/nirisakavo/1/edit?html,js,output
Really just added a function to select all:
function SelectAll() {
var scheduler = $("#scheduler").data("kendoScheduler");
var allEvents = scheduler.data().map(function(val, i) { return val.uid; });
scheduler.select(allEvents);
}
Repro
Click the 'Select All' button.
Expected: Selects all events.
Actual: Selects only last event.
Please investigate this dojo sample:
https://dojo.telerik.com/IjIminuv
Even looking at the built-in Timeline view, one can see that the bottom gap is thinner in every group. However, switching to the TimelineEx view (that sets BottomRowOffset to 0), the problem is obvious...
Please address this computation error in the row-height...
Regards
### Bug report
When typing in the built-in search box of the Scheduler, the spacebar does not insert a blank space as expected.
### Reproduction of the problem
Type in any word in the search tool and press the spacebar.
A Dojo sample for reproduction: https://demos.telerik.com/kendo-ui/scheduler/search-events
When using Kendo version 2021.3.1109 in the same scenario, the spacebar opens the Popup form for event editing.
A Dojo sample for reproduction: https://dojo.telerik.com/irUKIsEc
### Expected/desired behavior
When you press the spacebar, it should insert a blank space.
### Environment
* **Kendo UI version: 2022.2.510
* **jQuery version: 1.12.4
* **Browser: [all]
Reproducible in the Events demo.
Also reproducible when selecting the slots from right to left (Wed to Mon) and then selecting the last slot (Mon).
The behavior is identical when selecting slots in a specific day, e.g. selecting and dragging from 8:00 to 10:00 and then selecting the last slot (9:30-10:00).
The change event does not fire.
The change event fires.
### Bug report
When using the Scheduler on a mobile device and trying to edit an existing event through the Month view, the editor template does not load the event details. The Scheduler opens an empty editor to create a new event.
### Reproduction of the problem
1) Create a Scheduler and enable its adaptive rendering (mobile: true).
2) Open the Scheduler on a mobile device and select the Month view.
3) Try to edit an existing event.
4) The opened editor template does not load the event details.
A Dojo sample for reproduction: https://dojo.telerik.com/uherEWib
### Expected/desired behavior
The events must be editable when using the Month view, and the adaptive mode is enabled.
### Environment
* **Kendo UI version: 2023.3.1114
* **jQuery version: 3.7.0
* **Browser: [all]
In Scheduler with Vertical Grouping and mobile:tablet, the cells for the resources and for the events a misaligned. That is observed only in timeline views.
Open the Dojo example.
The Resources and events cells are misaligned.
The cells for the resources and the events should be aligned.
Dojo example.
The event in the first Scheduler is misaligned.
The events in all Schedulers are properly aligned.
When no height is set to the Scheduler the grouping does not expand in height to the rendered month views.
Actual: https://dojo.telerik.com/UhoxowEh
Expected: https://dojo.telerik.com/UPiGosik
Scheduler header is rendered incorrectly. Currently, the date is not visible and the buttons are not positioned correctly.
The date in the Scheduler is not visible and the buttons are not positioned correctly.
The date should be visible and the buttons should be positioned and styled correctly (Dojo)
The recurring events are not rendered as expected in some scenarios depending on the start time set.
The first event is not rendered for every week, but it is rendered for every second week.
When the recurring rule is 'FREQ=WEEKLY' the event should be displayed every week, despite of its starting time.
In 2020 R1 SP2 (2020.1.406) there is a bug related to missing events fixed with 2020.2.513. - Dojo with 2020.1.406
Starting with 2020 R2 (2020.2.513) the current behavior is introduced.
The issue might be related also to: #5978
The navigate event does not trigger when changing the view on a mobile device.
The event triggers back in version 2019.1.220.
The navigate event does not trigger when changing the view.
The navigate event should trigger.
When the dataSource for the resources is empty and the Month view is selected the 'Cannot read property 'firstChild' of undefined error is thrown in Scheduler.
'Cannot read property 'firstChild' of undefined error is thrown in Scheduler when the Month view is selected.
No error should be thrown with an empty resources dataSource in Scheduler.
The issue is a regression starting with 2020 R1 (2020.1.114) release
Regression introduced in R3 2020 SP2. Possibly related to #6034
Dojo example.
The event cannot be dragged/dropped over the desired slot. It is automatically placed over the first slot of the day it starts in.
The event can be dropped over the desired time slot.
Setting a required validation message for a date field through the model has no effect.
The custom validation message is not applied.
You should be able to change the message through the model
Recurring events are not rendered on the correct date when an event has to be displayed on different dates in different time zones.
Below are two events recurring and nonrecurring created with the same starting date and time in UTC +2
After changing the time zone on the machine from UTC +2 to UTC -10 the event is rendered at 8 PM, but it is still displayed on Monday. Thus, recurring and non-recurring events created with the same start date and time are displayed on different days when the time zone is changed:
The date of the recurring event should be changed according to the time zone. It should be possible to repeat events on a different days of the week when the Scheduler is opened at different timezone
The Scheduler, configured to import/export to iCal file, exports invalid file in Firefox.
Workaround - https://dojo.telerik.com/UjOVoYUT/2
The exported file is invalid and cannot be opened in Outlook or other apps
The exported file should be valid and be opened in Outlook.
Describe the bug
When there is an event that lasts multiple days, but is not an all-day event the title and the up arrow overlap, thus it makes the reading of the title harder.
To reproduce
Open the Dojo - https://dojo.telerik.com/@NeliK/IruYeGEc
Expected behavior
The arrow and the title should be rendered with some margin
Workaround
.k-event-template{
margin-top: 8px !important;
}
Affected package (please remove the unneeded items)
Affected suites (please remove the unneeded items)
Affected browsers (please remove the unneeded items)
If a Scheduler event's start time is set differently than :00 or :30, the event will be dropped in an incorrect slot when snap is enabled. The start time in the hint is also incorrect.
The event will be placed at 2:19 AM instead of at 2:00 AM
The event should be placed at the dropped slot.
If the snap
option is set at runtime the drag hint of the events starts having wrong height.
After changing the snap option at runtime as a result the drag hint height is correct when the snap is set to false, but it has wrong height when the snap is enabled.
The drag hint should have the same height as the dragged event.
move: function(e){
var dragHintEl = $('.k-event-drag-hint')
var dataUid = $('.k-event-drag-hint').attr('data-uid')
var event = $('.k-event[data-uid="'+ dataUid +'"]:not(.k-event-drag-hint)')
var height = $(event).height()
$(dragHintEl).height(height)
},
Dojo - https://dojo.telerik.com/@NeliK/aZArEdof
If an all-day event is resized to multiple days and then the user tries to resize the event back to one day, the event is not always resized.
The issue is occasionally reproducible and does not occur for all all-day events. The event is resized back only if the user tries to drag the mouse down and then resize. Here is a screencast - https://somup.com/cZeX6QpRlX.
It should be possible to resize back the all-day events back to one-day duration without moving the mouse down.