Programmatically deselect scheduler item

1 Answer 78 Views
Scheduler
Kevin
Top achievements
Rank 1
Kevin asked on 03 May 2023, 10:10 AM

Hello,

We have an implementation of the kendoreact Scheduler in our application.

We use our own popup when a user clicks/selects a scheduler item. This popup contains a close button, which closes the appointment and should deselect the scheduler item. However, I was unable to find a way to get the scheduler item deselected.

The problem with it not being deselected, is that once you close the popup, you cannot open it again until you click another appointment, which our client took issue with.

So far I've tried going through the documentation and through the available hooks. I did find these hooks:

  • useSchedulerViewSelectedItemsContext
  • useSchedulerViewFocusedItemsContext

However, I was unable to use them since the set function seems to require a synthetic event, which I don't think I have.

I've also found this post, but was unable to apply anything from there with my knowledge: https://www.telerik.com/forums/kendo-scheduler---unselect-a-selected-event-programatically

Is there a way to achieve what I am looking for?

1 Answer, 1 is accepted

Sort by
0
Filip
Telerik team
answered on 05 May 2023, 07:56 AM

Hello, Kevin,

After some research in order to find a suitable solution for this scenario, it seems that currently programmatically deselecting an item in the Scheduler is not supported.

We have a logged feature request for allowing more control over the slot selection in our feedback portal, I can recommend casting your vote as it will increase its popularity and thus its chance of being implemented in a future release:

https://feedback.telerik.com/kendo-react-ui/search?searchterm=Scheduler+to+support+more+control+over+slot+selection+

Regards,
Filip
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Tags
Scheduler
Asked by
Kevin
Top achievements
Rank 1
Answers by
Filip
Telerik team
Share this question
or