How to programmatically set events to selected?

As of right now, I can only seem to set events to selected with a click.


How could I programmatically select events with a function?


example:

private void SelectEvents(List<int> ids){
    ScheduleRef.SetSelectedEvents = ids
}


1 Reply

RV Ravikumar Venkatesan Syncfusion Team May 6, 2022 02:57 PM UTC

Hi Thomas,


Greetings from Syncfusion support.


We have validated your requirement “How to programmatically set events to selected?” at our end. Currently, we weren’t able to select the appointments programmatically with the Blazor Schedule. We can achieve this requirement using Js interop in Blazor. Kindly find details below about Js interop from the below link.


https://www.syncfusion.com/faq/blazor/javascript-interop/what-is-js-interop-in-blazor

  

Kindly share the real-time use case scenario of your requirement. So, we will check the use case scenario at our end and will log a feature request at our end. So, the feature will implement in any of our upcoming releases.


Regards,

Ravikumar Venkatesan


Loader.
Up arrow icon