Soenneker.Blazor.DataTables 2.1.118

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Blazor.DataTables --version 2.1.118                
NuGet\Install-Package Soenneker.Blazor.DataTables -Version 2.1.118                
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="2.1.118" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Soenneker.Blazor.DataTables --version 2.1.118                
#r "nuget: Soenneker.Blazor.DataTables, 2.1.118"                
#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.
// Install Soenneker.Blazor.DataTables as a Cake Addin
#addin nuget:?package=Soenneker.Blazor.DataTables&version=2.1.118

// Install Soenneker.Blazor.DataTables as a Cake Tool
#tool nuget:?package=Soenneker.Blazor.DataTables&version=2.1.118                

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image 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.AddDataTables();
}

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
2.1.149 0 9/19/2024
2.1.148 22 9/19/2024
2.1.147 29 9/18/2024
2.1.146 36 9/18/2024
2.1.145 28 9/18/2024
2.1.144 46 9/18/2024
2.1.143 46 9/18/2024
2.1.142 42 9/18/2024
2.1.141 54 9/18/2024
2.1.140 53 9/18/2024
2.1.139 51 9/18/2024
2.1.138 52 9/18/2024
2.1.137 54 9/18/2024
2.1.136 50 9/18/2024
2.1.135 55 9/18/2024
2.1.134 52 9/18/2024
2.1.133 57 9/18/2024
2.1.132 63 9/18/2024
2.1.131 57 9/18/2024
2.1.130 65 9/18/2024
2.1.129 63 9/17/2024
2.1.128 59 9/17/2024
2.1.127 58 9/17/2024
2.1.126 66 9/17/2024
2.1.124 56 9/17/2024
2.1.123 52 9/17/2024
2.1.122 62 9/17/2024
2.1.121 57 9/17/2024
2.1.120 62 9/17/2024
2.1.119 64 9/17/2024
2.1.118 59 9/17/2024
2.1.117 65 9/17/2024
2.1.116 55 9/17/2024
2.1.115 63 9/17/2024
2.1.114 57 9/17/2024
2.1.113 52 9/17/2024
2.1.112 58 9/17/2024
2.1.111 58 9/17/2024
2.1.110 57 9/17/2024
2.1.109 66 9/17/2024
2.1.108 60 9/17/2024
2.1.107 57 9/17/2024
2.1.106 57 9/17/2024
2.1.105 60 9/17/2024
2.1.104 55 9/17/2024
2.1.103 72 9/16/2024
2.1.102 58 9/16/2024
2.1.101 58 9/16/2024
2.1.100 61 9/16/2024
2.1.99 56 9/16/2024
2.1.98 118 9/16/2024
2.1.97 60 9/16/2024
2.1.96 69 9/16/2024
2.1.95 66 9/16/2024
2.1.94 65 9/16/2024
2.1.93 77 9/13/2024
2.1.92 68 9/13/2024
2.1.91 76 9/12/2024
2.1.90 67 9/12/2024
2.1.89 70 9/12/2024
2.1.88 71 9/12/2024
2.1.87 72 9/12/2024
2.1.86 66 9/12/2024
2.1.85 65 9/12/2024
2.1.84 67 9/12/2024
2.1.83 72 9/12/2024
2.1.82 75 9/12/2024
2.1.81 73 9/12/2024
2.1.80 68 9/12/2024
2.1.79 77 9/12/2024
2.1.78 70 9/12/2024
2.1.77 73 9/12/2024
2.1.76 73 9/11/2024
2.1.75 69 9/11/2024
2.1.74 77 9/11/2024
2.1.73 83 9/11/2024
2.1.72 83 9/11/2024
2.1.71 80 9/11/2024
2.1.70 69 9/11/2024
2.1.69 73 9/11/2024
2.1.68 63 9/11/2024
2.1.67 79 9/11/2024
2.1.66 79 9/11/2024
2.1.65 74 9/11/2024
2.1.64 75 9/11/2024
2.1.63 77 9/11/2024
2.1.62 71 9/11/2024
2.1.61 75 9/11/2024
2.1.60 86 9/11/2024
2.1.59 74 9/11/2024
2.1.58 69 9/11/2024
2.1.57 64 9/11/2024
2.1.56 82 9/11/2024
2.1.55 80 9/11/2024
2.1.54 73 9/11/2024
2.1.53 78 9/11/2024
2.1.52 67 9/11/2024
2.1.51 61 9/10/2024
2.1.50 69 9/10/2024
2.1.49 70 9/10/2024
2.1.48 63 9/10/2024
2.1.47 69 9/10/2024
2.1.46 65 9/10/2024
2.1.45 66 9/10/2024
2.1.44 70 9/10/2024
2.1.43 61 9/10/2024
2.1.42 58 9/10/2024
2.1.41 67 9/10/2024
2.1.40 57 9/10/2024
2.1.39 67 9/10/2024
2.1.38 56 9/10/2024
2.1.37 58 9/10/2024
2.1.36 59 9/10/2024
2.1.35 66 9/10/2024
2.1.34 68 9/10/2024
2.1.33 63 9/10/2024
2.1.30 62 9/10/2024
2.1.29 58 9/10/2024
2.1.28 64 9/10/2024
2.1.27 61 9/10/2024
2.1.25 58 9/9/2024
2.1.24 62 9/9/2024
2.1.23 59 9/9/2024
2.1.22 56 9/9/2024
2.1.21 56 9/9/2024
2.1.20 58 9/9/2024
2.1.19 52 9/9/2024
2.1.18 61 9/9/2024
2.1.16 57 9/9/2024
2.1.15 63 9/9/2024
2.1.13 68 9/9/2024
2.1.12 67 9/9/2024
2.1.11 64 9/9/2024
2.1.10 67 9/9/2024
2.1.9 62 9/9/2024
2.1.8 72 9/9/2024
2.1.7 68 9/9/2024
2.1.6 55 9/8/2024