Unplanned
Last Updated: 27 Sep 2021 10:42 by ADMIN
José Fº
Created on: 21 Sep 2021 11:54
Category: KendoReact
Type: Feature Request
1
Scheduler Event Selection - Get selected events list and detect changes
We have implemented an editable Scheduler, and we need to make a development related to the selection of events within the calendar. We need support to know how to consult the events that are selected, and how to detect selection changes in these, in order to mantain a list of "active selections".

We are not able to find where is stored the information about which events are selected. We have found information about overloading the Scheduler prop editItem with a CustomEditItem and overriding this event to detect when a task is selected.

  const handleClickAction = (event) => [
    {
      type: event.syntheticEvent.shiftKey
        ? ITEMS_SELECT_ACTION.add
        : ITEMS_SELECT_ACTION.select,
    },
  ];

With this we could detect when a certain event is selected. But we are still missing the part about when they are unselected. If we click outside the events, we get the selection removed, but we have no way to detect the event of this, and therefore we can't update our list of selections.

Can you give us support on how we can get the information about the selections, and keep it updated at all times? Thank you,

3 comments
ADMIN
Stefan
Posted on: 27 Sep 2021 10:42

Hello, José,

Thank you for the confirmation.

I have directly converted this ticket to an official public feature request and we will monitor its popularity.

Then based on the popularity we will plan it accordingly and update its status.

This is the public link, if you need to share it with the team:

https://feedback.telerik.com/kendo-react-ui/1536250-scheduler-event-selection-get-selected-events-list-and-detect-changes

I have also already added your vote for convenience.

Regards,
Stefan
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

José Fº
Posted on: 27 Sep 2021 10:17
Hello Stefan,

Yes please, I would appreciate being able to request the creation of this functionality.

I have tried to do it from the link you send me, but it redirects me to create a ticket, do I have to do something or can you create it? There is no problem using the original ticket, there is no confidential information.

Thank you,

Regards,
ADMIN
Stefan
Posted on: 23 Sep 2021 12:22

Hello, José,

After discussing this we the team we agree that this will require introducing a new onSelectionChange event that will be fired when the Scheduler selection is changed.

I can suggest logging an official feature request for it as this is how we prioritize the tasks based on the community interest:

https://feedback.telerik.com/kendo-react-ui

I can also directly transfer this ticket if there is no private information shown in it.

Regards,
Stefan
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.