Syncfusion.AspNetCore.Spreadsheet
34.1.33
Prefix Reserved
dotnet add package Syncfusion.AspNetCore.Spreadsheet --version 34.1.33
NuGet\Install-Package Syncfusion.AspNetCore.Spreadsheet -Version 34.1.33
<PackageReference Include="Syncfusion.AspNetCore.Spreadsheet" Version="34.1.33" />
<PackageVersion Include="Syncfusion.AspNetCore.Spreadsheet" Version="34.1.33" />
<PackageReference Include="Syncfusion.AspNetCore.Spreadsheet" />
paket add Syncfusion.AspNetCore.Spreadsheet --version 34.1.33
#r "nuget: Syncfusion.AspNetCore.Spreadsheet, 34.1.33"
#:package Syncfusion.AspNetCore.Spreadsheet@34.1.33
#addin nuget:?package=Syncfusion.AspNetCore.Spreadsheet&version=34.1.33
#tool nuget:?package=Syncfusion.AspNetCore.Spreadsheet&version=34.1.33
Syncfusion® ASP.NET Core Spreadsheet Component
A feature-complete Excel-like spreadsheet for creating, editing, and viewing spreadsheet data in a web browser without requiring Microsoft Excel.
Key Features
- File Import/Export: Import and export XLSX, XLS, and CSV files for seamless data exchange
- 400+ Formulas: Comprehensive formula support with formula bar for calculations and analysis
- Cell Formatting: Font styling, alignment, borders, colors, and number formats for professional appearance
- Data Validation: Validate data entry with conditional formatting and cell protection
- Rich Content: Support for charts, images, sparklines, and hyperlinks within cells
- Layout Features: Freeze panes, merge cells, wrap text, and column/row sizing for flexible layouts
- Multiple Sheets: Multiple sheets, sheet protection, and workbook protection for data organization
- Data Operations: Find and replace, sorting, filtering with undo/redo support
- Accessibility: Full keyboard shortcut support and accessibility compliance
- Clipboard Operations: Cut, copy, paste operations with native clipboard integration
Common Setup
1. Install NuGet Package
Install-Package Syncfusion.AspNetCore.Spreadsheet
2. Register Tag Helper
Add to ~/Pages/_ViewImports.cshtml or ~/Views/_ViewImports.cshtml:
@addTagHelper *, Syncfusion.AspNetCore.Base
@addTagHelper *, Syncfusion.AspNetCore.Spreadsheet
3. Add Stylesheet & Script References
In your layout file:
<head>
<link rel="stylesheet" href="_content/Syncfusion.AspNetCore.Themes/styles/fluent2.css" />
<script src="_content/Syncfusion.AspNetCore.Spreadsheet/scripts/sf-spreadsheet.min.js"></script>
</head>
4. Register Script Manager
<ejs-scripts></ejs-scripts>
Quick Start
Step 1: ~/Pages/Index.cshtml.cs
public class IndexModel : PageModel
{
public List<SpreadsheetData> SpreadsheetData { get; set; }
public void OnGet()
{
SpreadsheetData = new List<SpreadsheetData>
{
new SpreadsheetData { Name = "Product A", Quantity = 50, Price = 100.00 },
new SpreadsheetData { Name = "Product B", Quantity = 75, Price = 150.50 },
new SpreadsheetData { Name = "Product C", Quantity = 30, Price = 200.00 },
new SpreadsheetData { Name = "Product D", Quantity = 100, Price = 75.25 }
};
}
}
public class SpreadsheetData
{
public string Name { get; set; }
public int Quantity { get; set; }
public double Price { get; set; }
}
Step 2 : ~/Pages/Index.cshtml
<ejs-spreadsheet id="spreadsheet" height="500px">
<e-sheets>
<e-sheet>
<e-sheet-ranges>
<e-sheet-range dataSource="@Model.SpreadsheetData" startCell="A1"></e-sheet-range>
</e-sheet-ranges>
<e-sheet-columns>
<e-sheet-column width="150"></e-sheet-column>
<e-sheet-column width="100"></e-sheet-column>
<e-sheet-column width="100"></e-sheet-column>
</e-sheet-columns>
</e-sheet>
</e-sheets>
</ejs-spreadsheet>
Run the Application
Press Ctrl+F5 to run the application in your browser.
Documentation
Support
License
This is a commercial product and requires a paid license for possession or use. Review the Syncfusion® EULA
About Syncfusion®
Syncfusion® provides 1600+ UI components and frameworks for web, mobile, and desktop development across multiple platforms:
Web: Blazor | ASP.NET Core | ASP.NET MVC | JavaScript | Angular | React | Vue
Desktop: WinForms | WPF | WinUI
Learn more at www.syncfusion.com
sales@syncfusion.com | Toll Free: 1-888-9-DOTNET
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Newtonsoft.Json (>= 13.0.4)
- Syncfusion.AspNetCore.Base (>= 34.1.33)
- Syncfusion.AspNetCore.Buttons (>= 34.1.33)
- Syncfusion.AspNetCore.Calendars (>= 34.1.33)
- Syncfusion.AspNetCore.Charts (>= 34.1.33)
- Syncfusion.AspNetCore.DropDowns (>= 34.1.33)
- Syncfusion.AspNetCore.Grid (>= 34.1.33)
- Syncfusion.AspNetCore.Inputs (>= 34.1.33)
- Syncfusion.AspNetCore.Lists (>= 34.1.33)
- Syncfusion.AspNetCore.Navigations (>= 34.1.33)
- Syncfusion.AspNetCore.Popups (>= 34.1.33)
- Syncfusion.AspNetCore.Ribbon (>= 34.1.33)
- Syncfusion.AspNetCore.SplitButtons (>= 34.1.33)
- Syncfusion.Licensing (>= 34.1.33)
-
net8.0
- Newtonsoft.Json (>= 13.0.4)
- Syncfusion.AspNetCore.Base (>= 34.1.33)
- Syncfusion.AspNetCore.Buttons (>= 34.1.33)
- Syncfusion.AspNetCore.Calendars (>= 34.1.33)
- Syncfusion.AspNetCore.Charts (>= 34.1.33)
- Syncfusion.AspNetCore.DropDowns (>= 34.1.33)
- Syncfusion.AspNetCore.Grid (>= 34.1.33)
- Syncfusion.AspNetCore.Inputs (>= 34.1.33)
- Syncfusion.AspNetCore.Lists (>= 34.1.33)
- Syncfusion.AspNetCore.Navigations (>= 34.1.33)
- Syncfusion.AspNetCore.Popups (>= 34.1.33)
- Syncfusion.AspNetCore.Ribbon (>= 34.1.33)
- Syncfusion.AspNetCore.SplitButtons (>= 34.1.33)
- Syncfusion.Licensing (>= 34.1.33)
-
net9.0
- Newtonsoft.Json (>= 13.0.4)
- Syncfusion.AspNetCore.Base (>= 34.1.33)
- Syncfusion.AspNetCore.Buttons (>= 34.1.33)
- Syncfusion.AspNetCore.Calendars (>= 34.1.33)
- Syncfusion.AspNetCore.Charts (>= 34.1.33)
- Syncfusion.AspNetCore.DropDowns (>= 34.1.33)
- Syncfusion.AspNetCore.Grid (>= 34.1.33)
- Syncfusion.AspNetCore.Inputs (>= 34.1.33)
- Syncfusion.AspNetCore.Lists (>= 34.1.33)
- Syncfusion.AspNetCore.Navigations (>= 34.1.33)
- Syncfusion.AspNetCore.Popups (>= 34.1.33)
- Syncfusion.AspNetCore.Ribbon (>= 34.1.33)
- Syncfusion.AspNetCore.SplitButtons (>= 34.1.33)
- Syncfusion.Licensing (>= 34.1.33)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.