Soenneker.Blazor.DataTables
3.0.2007
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.Blazor.DataTables --version 3.0.2007
NuGet\Install-Package Soenneker.Blazor.DataTables -Version 3.0.2007
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="Soenneker.Blazor.DataTables" Version="3.0.2007" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Blazor.DataTables" Version="3.0.2007" />
<PackageReference Include="Soenneker.Blazor.DataTables" />
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 Soenneker.Blazor.DataTables --version 3.0.2007
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Blazor.DataTables, 3.0.2007"
#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 Soenneker.Blazor.DataTables@3.0.2007
#: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=Soenneker.Blazor.DataTables&version=3.0.2007
#tool nuget:?package=Soenneker.Blazor.DataTables&version=3.0.2007
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Blazor.DataTables
A Blazor interop library for DataTables
This library simplifies the integration of DataTables into Blazor applications, providing access to options, events, etc. A demo project showcasing common usages is included.
Diligence was taken to align the Blazor API with JS. Refer to the DataTables documentation for details. This is a work-in-progress; contribution is welcomed.
Installation
dotnet add package Soenneker.Blazor.DataTables
Add the following to your Startup.cs file
public void ConfigureServices(IServiceCollection services)
{
services.AddDataTablesInteropAsScoped();
}
Usage
@using Soenneker.Blazor.DataTables
<DataTable Options="_options">
<thead>
<tr>
<th>Name</th>
<th>Position</th>
<th>Office</th>
<th>Age</th>
<th>Start date</th>
<th>Salary</th>
</tr>
</thead>
<tbody>
<tr>
<td>John Doe</td>
<td>Developer</td>
<td>London</td>
<td>28</td>
<td>2017/04/25</td>
<td>$320,800</td>
</tr>
</tbody>
</DataTable>
@code{
private readonly DataTableOptions _options_ = new()
{
Searching = true,
LengthChange = false,
Info = false,
Paging = false,
Order = [new object[] {0, "asc"}]
};
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 was computed. 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.
-
net9.0
- Microsoft.AspNetCore.Components.Web (>= 9.0.3)
- Soenneker.Blazor.Utils.InteropEventListener (>= 3.0.3480)
- Soenneker.Blazor.Utils.ResourceLoader (>= 3.0.1370)
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 |
|---|---|---|
| 4.0.2681 | 37 | 4/24/2026 |
| 4.0.2680 | 42 | 4/24/2026 |
| 4.0.2679 | 43 | 4/24/2026 |
| 4.0.2678 | 38 | 4/24/2026 |
| 4.0.2674 | 41 | 4/23/2026 |
| 4.0.2671 | 38 | 4/23/2026 |
| 4.0.2669 | 34 | 4/23/2026 |
| 4.0.2667 | 80 | 4/21/2026 |
| 4.0.2666 | 75 | 4/21/2026 |
| 4.0.2665 | 81 | 4/21/2026 |
| 4.0.2664 | 84 | 4/21/2026 |
| 4.0.2663 | 92 | 4/15/2026 |
| 4.0.2662 | 84 | 4/15/2026 |
| 4.0.2661 | 89 | 4/15/2026 |
| 4.0.2660 | 86 | 4/15/2026 |
| 4.0.2659 | 89 | 4/15/2026 |
| 4.0.2658 | 94 | 4/15/2026 |
| 4.0.2656 | 90 | 4/14/2026 |
| 4.0.2655 | 80 | 4/14/2026 |
| 3.0.2007 | 230 | 4/2/2025 |
Loading failed