We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

Background export not working

Answered
Nil asked on December 24, 2021

Export data view only working when application in the foreground. We have performed the data view export for flat grid and kept the application in background/minimize/access other tabs; it's not working. 
Is not working in background ,when tab is minimized .
this.dataPivot?.flexmonster.exportTo("excel", params, (result, error) => {
      if (error != null)
        console.warn("failed to export report")
    });
We are using this in angular 11 and "ng-flexmonster": "^2.9.14"
Please check and suggest we want export run even if bowser tab is minimize or browser is minimized in windows /IOS/Android .

1 answer

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster December 29, 2021

Hello, Nil,
 
Thank you for writing to us.
 
Please note that the browser performance lowers while minimizing its window. Due to JavaScript architecture, this can affect how the code is executed. Therefore, it's not an issue of Flexmonster but the way the browser applications work. The simplest solution would be not to minimize the tab while export is in progress.
 
You are welcome to write to us in case further questions occur.
 
Kind regards,
Nadia

Please login or Register to Submit Answer