How do I change on fly Scheduler Interval?

I’m trying with this:

<ScheduleTimeScale Enable="true" Interval="@slotInterval" SlotCount="@slotCount"></ScheduleTimeScale>


            slotInterval = Convert.ToInt32( 30* Convert.ToDouble(DropVal));

            StateHasChanged();


but it doesn’t work… any idea?

alessandro


2 Replies 1 reply marked as answer

AD Alessandro Degola February 13, 2022 08:45 AM UTC

hi, I’ve just solved!


            await scheduleRef.RefreshEventsAsync();

            StateHasChanged();


alessandro


Marked as answer

VM Vengatesh Maniraj Syncfusion Team February 14, 2022 03:51 AM UTC

We are happy that you have found the solution and it works now at your end.


Loader.
Up arrow icon