We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

The event of type scheduleResize is never called for actionBegin only actionComplete - when resizing browser window

We have a Schedule with cells populated by appointments and custom html elements.
When these custom html elements are present in the cells, the Schedule is not able to redraw itself. So to circumvent that we remove the custom html elementens before redrawing the Schedule and reapply them once the Schedule is ready. However, we've found an case where the user resizes the browser window which causes the Schedule to fail redrawing, as the event 'scheduleResize' is never begun but only completed.

Test project attached. If you resize the window you can see that 'scheduleResize' is only called on actionComplete and not actionBegin.

    function OnActionComplete(args) {
        console.debug("OnActionComplete: " + args.requestType);
    }

    function OnActionBegin(args) {
        console.debug("OnActionBegin: " + args.requestType);
    }



Attachment: Sample_e4e33a37.zip

1 Reply

VD Vinitha Devi Murugan Syncfusion Team December 12, 2019 12:44 PM UTC

Hi Toke, 
 
Greetings from Syncfusion Support. 
 
We had checked your reported scenario at our end with shared project. According to Schedule source, the actionBegin event doesn’t trigger when the browser window is resizing. We had provided actionComplete event support alone with requestType is scheuleResize. We regret for inconvenienced cause. 
 
Regards, 
M.Vinitha devi 


Loader.
Live Chat Icon For mobile
Up arrow icon