Duplicated
Last Updated: 28 Apr 2023 13:29 by ADMIN
Stewart
Created on: 12 Apr 2022 11:09
Category: Scheduler
Type: Bug Report
0
Scheduler doesn't move events when update width

 If I change the width of the scheduler component it doesn't move the events to the correct place

I am currentl looking at printing the Scheduler but I ran into this issue when trying to adjust the scheduler to fit on a page

Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
4 comments
ADMIN
Dimo
Posted on: 28 Apr 2023 13:29

Hello Stewart,

This was a regression that is now fixed in 4.2.0.

Regards,
Dimo
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.

Stewart
Posted on: 24 Apr 2023 07:32

I was using this to help me print the Scheduler but the fix has stopped working 

 

SchedulerWidth = "1400px";
StateHasChanged();
await Task.Delay(100);
await _jsWindow.InvokeVoidAsync("resize");
await _jsWindow.InvokeVoidAsync("print");
SchedulerWidth = "";
await _jsWindow.InvokeVoidAsync("resize");
Stewart
Posted on: 19 Apr 2022 10:43

Thank you

Triggering the resize of the window worked, Would be nice if the component automatically resized for print but I have a solution for now

ADMIN
Dimo
Posted on: 19 Apr 2022 08:44

Hello Stewart,

Normally, the Scheduler will refresh its layout automatically when you resize the browser window.

One exception is when the Scheduler is inside another component with independent resizing mechanism. Or, if you resize the Scheduler or its container programmatically. In such cases, use JavaScript to trigger window.resize and force the Scheduler to refresh.

If this doesn't help, please describe your exact scenario and how are you resizing the Scheduler.

Regards,
Dimo
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.