Would it be possible to use the Embedding Spreadsheet Editor SDK in a Maui app by embedding it in a Webview?
Thanks for you help
Daniel
Hi Daniel,
Thank you for your patience.
Yes, it’s possible to use the Spreadsheet Editor SDK in a .NET MAUI application by hosting it within a Blazor WebView. For your convenience, we have prepared a sample MAUI project where the SDK is successfully rendered inside the WebView component following the below guidelines and attached below for your reference.
Sample Project: Please refer to the attachment.
User Guide: Please follow the documentation below to set up the MAUI project:
Creating a .NET MAUI Project:
Getting Started with MAUI Blazor App in Visual Studio | Syncfusion (Note: This uses a different component for demonstration, but the integration steps are similar.)
Spreadsheet Editor Setup Guide:
Getting started with Syncfusion Spreadsheet in Blazor Web App
Microsoft BlazorWebView Integration in .NET MAUI app:
Host a Blazor web app in a .NET MAUI app using BlazorWebView - .NET MAUI | Microsoft Learn
Please review the above shared details and let us know if you have any further questions or concerns.
Regards,
Santhanalakshmi.
Thank you very much. I will give it a try.
Yes, it should work. Since the Spreadsheet Editor SDK runs in a browser environment, you can load it inside a WebView in a MAUI app as long as you serve the editor properly and allow the WebView to handle the scripts.
Just make sure the WebView has JavaScript enabled and the files are accessible. Other than that, it’s a pretty straightforward setup.
Hi jack james,
Thank you for the update.
In a .NET MAUI Blazor Hybrid app, JavaScript is enabled by default in the BlazorWebView, as Blazor relies on it for rendering and interactivity. Therefore, no additional configuration is required. Additionally, any files placed under wwwroot are automatically served by the BlazorWebView through its built-in static file hosting mechanism. This allows you to reference them directly using relative paths without extra setup.
Please review the above details and feel free to reach out if you have any further questions or concerns.
Regards,
Santhanalakshmi.
Hello sir,
does it possible to do the same for the Docx Editor?
Thanks
Massimiliano
Hi Massimiliano,
Thank you for the update.
Regarding your query about using the Docx Editor in a .NET MAUI application. We have created a separate forum thread for the Docx Editor query for better tracking and follow up. Please follow the below forum for further updates regarding the query:
Forum: https://www.syncfusion.com/forums/198070/branched-from-197668-document-editor-sdk-in-a-net-maui
Please feel free to reach to us if you have any other questions, we are always happy to help.
Regards,
Adithyan