Hi Frank,
Thank you for reaching out.
Yes, it's possible to integrate the Blazor Spreadsheet into your .NET MAUI application and configure it to display only the spreadsheet view, excluding additional UI elements like the ribbon or quick access toolbar.
To achieve this, you can customize the component's rendering by excluding the ribbon menu from your layout. The code example below demonstrates how to render the spreadsheet without the built-in ribbon:
@using Syncfusion.Blazor.Spreadsheet <SfSpreadsheet @ref="SpreadsheetRef" DataSource="DataSourceBytes"> public byte[] DataSourceBytes { get; set; } public SfSpreadsheet SpreadsheetRef; /// Initializes the component and loads the default Excel file protected override async Task OnInitializedAsync() string filePath = "wwwroot/Sample.xlsx"; DataSourceBytes = File.ReadAllBytes(filePath); |
In the sample attachment below, the ribbon configuration is omitted to provide a clean, minimal interface focused solely on the spreadsheet content.
Sample: Please refer to the attachment.
Regards,
Santhanalakshmi.
Attachment:
MauiApp_fa94106b.zip