Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Grid] Excel export keeps loading when using OnPush change detection strategy #4504

Open
zstoyanova9 opened this issue Jan 8, 2025 · 0 comments

Comments

@zstoyanova9
Copy link

zstoyanova9 commented Jan 8, 2025

Description

When exporting the Grid to Excel and having a loading indicator configured to be displayed while the Grid is being exported and removed when the process is finished, the indicator does not disappear after the export has finished when the change detection strategy is OnPush.

Steps To Reproduce

  1. Open the following StackBlitz example - https://stackblitz.com/edit/angular-uct6qswr-wfhxbpm3
  2. Click the "Export to Excel" button.

Actual Behavior

The loading indicator does not disappear after the exporting has finished although the loading property of the Grid is correctly set to "false" upon the completion of the request.

Expected Behavior

The loading indicator should be removed after the exporting of the Grid has finished.

Workaround

As a temporary workaround, handle the excelExport event of the Grid - https://stackblitz.com/edit/angular-uct6qswr-2eyql1yq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant