FlareTables 1.3.0-alpha

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

// Install FlareTables as a Cake Tool
#tool nuget:?package=FlareTables&version=1.3.0-alpha&prerelease

FlareTables

High-performance, paginated, filterable table component for Blazor. Inspired by jQuery Datatables, but much faster. No default CSS is included; if it was it probably wouldn't fit with the rest of your site's design, so you would have to override it anyway.

View on NuGet.org

Contents

Filtering demo

Filtering and sorting 100,000 rows of data in <1 second

Filtering example

Sorting example

Example usage


@functions {
    [Parameter]
    private IEnumerable<Contact> Data { get; set; }

    private TableStateHandler _flareTable;

    protected override void OnInit()
    {
        _flareTable = new TableStateHandler(Data, StateHasChanged, 3, 25);
    }

    <FlareTablePaginationButtons TableState="@_flareTable"></FlareTablePaginationButtons>
    <FlareTablePaginationSize TableState="@_flareTable"></FlareTablePaginationSize>
    <FlareTableColumnReset TableState="@_flareTable"></FlareTableColumnReset>
}

<table>
    <thead>
    <tr>
        @foreach (PropertyInfo field in new Contact().GetType().GetProperties().ToList())
        {
            _flareTable.InitColumn(field.Name);
            <th>@field.Name</th>
        }
    </tr>
    <tr>
        @foreach (PropertyInfo field in new Contact().GetType().GetProperties().ToList())
        {
            <th>
                <FlareTableColumnFilter TableState="@_flareTable" FieldName="@field.Name"></FlareTableColumnFilter>
            </th>
        }
    </tr>
    </thead>
    <tbody>
    @foreach (Contact row in _flareTable.Data())
    {
        <tr>
            @foreach (var field in row.GetType().GetProperties().ToList())
            {
                <td>@field.GetValue(row)</td>
            }
        </tr>
    }
    </tbody>
</table>

<FlareTableInfo TableState="@_flareTable"></FlareTableInfo>
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp3.0 is compatible.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on FlareTables:

Package Downloads
Rudiment

Package Description

Integrant.Rudiment

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.11.0-alpha 867 12/1/2021
3.10.0-alpha 251 10/26/2020
3.8.1-alpha 289 7/22/2020
3.6.15-alpha 311 5/23/2020
3.6.14-alpha 311 4/29/2020
3.6.12-alpha 293 4/27/2020
3.6.11-alpha 300 4/23/2020
1.5.0-alpha 307 9/19/2019
1.3.2-alpha 304 8/13/2019
1.3.1-alpha 318 7/29/2019
1.3.0-alpha 309 7/29/2019