Boostgrid 2.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Boostgrid --version 2.0.0
                    
NuGet\Install-Package Boostgrid -Version 2.0.0
                    
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="Boostgrid" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Boostgrid" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Boostgrid" />
                    
Project file
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 Boostgrid --version 2.0.0
                    
#r "nuget: Boostgrid, 2.0.0"
                    
#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 Boostgrid@2.0.0
                    
#: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=Boostgrid&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Boostgrid&version=2.0.0
                    
Install as a Cake Tool

Boostgrid

npm NuGet License Bundle

A modern, framework-agnostic data grid for Bootstrap 5. No jQuery, written in TypeScript, ships ESM + UMD.

  • 🎯 Bootstrap 5 native — uses BS5 classes and CSS variables.
  • Fast — single delegated event listener, memoized derived view, indexed selection lookups, debounced search, optional virtual scrolling.
  • 📦 Tiny — < 15 KB min+gzip core; tree-shakeable formatters.
  • 🧩 Framework-friendly — vanilla core + a react-boostgrid wrapper (see below). Vue / Angular / Blazor wrappers planned.

Install

# npm
npm install boostgrid

# CDN
<script src="https://cdn.jsdelivr.net/npm/boostgrid@2/dist/boostgrid.umd.cjs"></script>
<link  href="https://cdn.jsdelivr.net/npm/boostgrid@2/dist/boostgrid.css" rel="stylesheet">

# NuGet
Install-Package Boostgrid

Quick start

<table id="grid" class="table table-hover" data-toggle="boostgrid"
       data-selection="true" data-multi-select="true">
  <thead>
    <tr>
      <th data-column-id="id" data-identifier="true" data-type="numeric">ID</th>
      <th data-column-id="sender" data-order="asc">Sender</th>
      <th data-column-id="received">Received</th>
    </tr>
  </thead>
  <tbody>...</tbody>
</table>
import { attach } from "boostgrid";
import "boostgrid/style.css";

attach("#grid"); // or rely on data-toggle="boostgrid" auto-init

The full documentation, live examples, and API reference are at the showcase site (npm run dev).

React

A first-class React wrapper ships in packages/react-boostgrid:

import { ReactBoostgrid } from "react-boostgrid";
import "boostgrid/style.css";

export default function Inbox() {
  const [rows, setRows] = useState<Row[]>(initial);
  return (
    <ReactBoostgrid
      data={rows}
      columns={[
        { id: "id", text: "ID", identifier: true, type: "numeric", align: "right" },
        { id: "sender", text: "Sender", order: "asc" },
        { id: "subject", text: "Subject" },
      ]}
      options={{ rowCount: 10, selection: true, multiSelect: true }}
      onSelected={(rows) => console.log(rows)}
    />
  );
}

The wrapper renders only an empty host <div>; the table is built imperatively on mount, so React's reconciler never fights the DOM mutations boostgrid does. A live demo lives on the Examples → React wrapper tab of the docs site.

Development

npm install
npm run dev      # Vite dev server with the docs site
npm test         # Vitest
npm run build    # ESM + UMD + d.ts + css to dist/
npm run size     # bundle-size guard (size-limit)

License

MIT — Copyright © Jeffery Leo.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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.5.2 32 5/21/2026
2.5.1 38 5/21/2026
2.5.0 38 5/21/2026
2.4.3 103 5/11/2026
2.4.2 111 5/9/2026
2.4.1 114 5/9/2026
2.4.0 111 5/8/2026
2.0.0 108 5/5/2026

2.0.0 — Initial release. Bootstrap 5, vanilla TypeScript, ESM + UMD; docs site at /docs.