MentorLake.BlazorTableEditor
1.2.1
dotnet add package MentorLake.BlazorTableEditor --version 1.2.1
NuGet\Install-Package MentorLake.BlazorTableEditor -Version 1.2.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MentorLake.BlazorTableEditor" Version="1.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MentorLake.BlazorTableEditor" Version="1.2.1" />
<PackageReference Include="MentorLake.BlazorTableEditor" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MentorLake.BlazorTableEditor --version 1.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MentorLake.BlazorTableEditor, 1.2.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MentorLake.BlazorTableEditor@1.2.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MentorLake.BlazorTableEditor&version=1.2.1
#tool nuget:?package=MentorLake.BlazorTableEditor&version=1.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
BlazorTableEditor
An AI-generated high-performance, Excel-like table editor component library for Blazor.
Features
- Virtualized rendering — Handles thousands of cells efficiently.
- Full keyboard support — Arrow keys, Shift+selection, Enter/F2 edit, Tab, Delete, Escape.
- Undo / Redo — Ctrl+Z (undo), Ctrl+Y or Ctrl+Shift+Z (redo), toolbar buttons, and context menu.
- Validation — Pluggable
ITableValidatorinterface to mark cells as invalid; invalid cells receive error styling and show messages on hover.ValidationChangedreports the current error map after every validation pass. - Column valid values — Supply allowed values by column header name via
ColumnValidValues(ValidValueOptionwith separate storedValueand user-facingDisplay); constrained columns use a dropdown editor and reject unknown values. - Mouse interactions — Click/drag selection, double-click edit, column/row resize, drag-fill handle.
- Clipboard — Copy, Cut, Paste with system clipboard (TSV) + internal buffer.
- CSV serialization —
TableDataModel.ToCsv/FromCsv. - JSON serialization —
TableDataModel.ToJson/FromJson. - Context menu — Right-click for insert/delete row/column + clipboard actions.
- Header selection — Click column header to select whole column, row number to select whole row.
- Column filters — Excel-style AutoFilter on column headers (search, select-all, multi-value checkboxes, multi-column AND).
- Read-only —
ReadOnlyblocks cell edits, structure changes, paste, cut, undo/redo, and fill. Selection, copy, filters, row/column resize, and CSV export stay available. The sheet shows a read-only badge and border.
Installation
dotnet add package MentorLake.BlazorTableEditor
Usage
@using MentorLake.BlazorTableEditor
<TableEditor Model="myModel" />
Basic setup in a page/component
@page "/editor"
@using MentorLake.BlazorTableEditor.Models
<TableEditor Model="@model" ModelChanged="OnModelChanged" />
@code {
private TableDataModel model = new TableDataModel(50, 10);
protected override void OnInitialized()
{
model.AddSampleData();
}
private void OnModelChanged(TableDataModel updated)
{
model = updated;
}
}
CSV
model.ToCsv(includeHeaders: false)— export data rows only.TableDataModel.FromCsv(csvText, firstRowIsHeader: true)— import.
The component exposes ExportCsvAsync / file-based import in its toolbar when used directly.
Styling
Override styles by targeting .bte-root, .bte-cell, .bte-col-header, etc.
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.AspNetCore.Components.Web (>= 10.0.10)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2.1 | 76 | 10/1/2026 |
| 1.1.24 | 109 | 9/10/2026 |
| 1.1.23 | 97 | 9/9/2026 |
| 1.1.22 | 105 | 9/3/2026 |
| 1.1.21 | 99 | 9/3/2026 |
| 1.1.20 | 101 | 9/3/2026 |
| 1.1.19 | 100 | 9/2/2026 |
| 1.1.18 | 109 | 8/16/2026 |
| 1.1.17 | 115 | 8/16/2026 |
| 1.1.16 | 102 | 8/16/2026 |
| 1.1.15 | 110 | 7/28/2026 |
| 1.1.14 | 110 | 7/28/2026 |
| 1.1.13 | 110 | 7/27/2026 |
| 1.1.12 | 119 | 7/27/2026 |
| 1.1.11 | 111 | 7/27/2026 |
| 1.1.10 | 103 | 7/27/2026 |
| 1.1.9 | 103 | 7/27/2026 |
| 1.1.8 | 101 | 7/27/2026 |
| 1.1.7 | 109 | 7/27/2026 |
| 1.1.6 | 110 | 7/27/2026 |
Loading failed