You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In certain Blazor Hybrid scenarios, such as MAUI on Android, downloading files via JavaScript is either not possible or not easy. This means the Export to SVG, PNG, and CSV options may not work.
My suggestion is to add a custom exporter callback that simply has a JavaScript invoked function that will relay the export information back to C# so the user can handle the export. In the case of .NET MAUI this could easily be linked to something such as FileSaver from the .NET MAUI Community Toolkit.
Getting the data should be possible as per this GitHub Issue.
Just opening for discussion and reference right now; I will create a PR in about one month.
The text was updated successfully, but these errors were encountered:
In certain Blazor Hybrid scenarios, such as MAUI on Android, downloading files via JavaScript is either not possible or not easy. This means the Export to SVG, PNG, and CSV options may not work.
My suggestion is to add a custom exporter callback that simply has a JavaScript invoked function that will relay the export information back to C# so the user can handle the export. In the case of .NET MAUI this could easily be linked to something such as FileSaver from the .NET MAUI Community Toolkit.
Getting the data should be possible as per this GitHub Issue.
Just opening for discussion and reference right now; I will create a PR in about one month.
The text was updated successfully, but these errors were encountered: