Web Component data grid

Row grouping, aggregation and styled Excel export for Web Components, licensed once per developer.

Grid Pro

v1 launch

$349

Per developer, paid once, lifetime updates

A working starting point

npm install @birchui/element @birchui/core @birchui/grid-pro
Show index.html
index.html
<birchui-grid style="display: block; height: 520px"></birchui-grid>

<script type="module">
  import { defineBirchGrid } from '@birchui/element';
  import { AllProModules } from '@birchui/grid-pro';

  defineBirchGrid();

  const sales = [
    { id: 'SO-10421', region: 'Europe', country: 'France', year: 2026, revenue: 1890.5 },
    { id: 'SO-10422', region: 'Europe', country: 'Germany', year: 2025, revenue: 459 },
    { id: 'SO-10423', region: 'North America', country: 'Canada', year: 2026, revenue: 712.25 },
  ];

  const columns = [
    { field: 'region', header: 'Region' },
    { field: 'country', header: 'Country' },
    { field: 'revenue', header: 'Revenue', type: 'number', aggFunc: 'sum' },
  ];
  const groupBy = ['region', 'country'];

  const el = document.querySelector('birchui-grid');
  el.licenseKey = 'LQ1.your-key';
  el.modules = AllProModules;
  el.columns = columns;
  el.rows = sales;
  el.groupBy = groupBy;
  el.groupPanel = true;
  el.groupTotals = true;

</script>

Measured in Chrome: grouping 100,000 rows takes 74–80 ms and the grid scrolls 1,000,000 rows.

How it fits Web Components

Grid Pro adds the analytics modules to the free MIT grid: grouping with totals, tree data, range selection, clipboard, fill handle, master-detail and xlsx export. In Web Components you pass the modules as an option; nothing else in your component changes.

The element package registers the data grid as a light-DOM custom element. There is no Shadow DOM, so your CSS and the --fe-* theme properties reach every cell.

Set rich options as properties, simple ones as attributes. Only changed keys reach update(). Importing the package never touches HTMLElement, so shared code is safe on the server; define the element in the browser.

Questions

Is the basic Web Components data grid free?

Yes. Sorting, filtering, editing, virtualization, CSV export and keyboard navigation are MIT in @birchui/core. Grid Pro is the paid layer.

What happens without a license key?

Every feature keeps working. A small watermark and one console warning appear on non-local hosts.

Can I use the data grid element without a build step?

Yes, from any ES module setup, including server-rendered pages, Rails, Django, Laravel or plain HTML with an import map.

How are events delivered?

As bubbling, composed CustomEvents with kebab-case names and the payload in detail.