Approved
Last Updated: 19 Jun 2019 15:17 by ADMIN
Brightstar
Created on: 11 Jun 2019 19:46
Category: Scheduler
Type: Bug Report
1
scheduler.select([]) only select last item in array

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.

 

3 comments
ADMIN
Petar
Posted on: 19 Jun 2019 15:17
Hello Jeff,

Yes, following this thread is the best way to be up to date with the progress of how the bug fixture is going on. Once the work on it starts, its status will be changed and if you are following the thread (using the "Follow" button) you will receive a notification. 

Regards,
Petar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Brightstar
Posted on: 18 Jun 2019 21:16

Petar,

Thank you for the update. Is following the best/only way to track the status of this item for now?

Thanks,

Jeff

ADMIN
Petar
Posted on: 18 Jun 2019 15:00
Hello,

Thank you for reporting this bug! Its status has been changed to Approved

Currently, we cannot provide a workaround for this issue. The bug will be fixed depending on its impact and our priority queue.

I've updated your Telerik points as a sign of gratitude. 
Thank you once again for reporting the issue!

Regards,
Petar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.