@universal-material/data-grid 0.0.0-stage → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +172 -2
- package/custom-elements.json +4652 -0
- package/dist/attribute-converters.d.ts +53 -0
- package/dist/attribute-converters.js +98 -0
- package/dist/attribute-converters.js.map +1 -0
- package/dist/change-source.d.ts +3 -0
- package/dist/change-source.js +2 -0
- package/dist/change-source.js.map +1 -0
- package/dist/data/data-source.d.ts +164 -0
- package/dist/data/data-source.js +75 -0
- package/dist/data/data-source.js.map +1 -0
- package/dist/data/local-source.d.ts +20 -0
- package/dist/data/local-source.js +94 -0
- package/dist/data/local-source.js.map +1 -0
- package/dist/data/remote-loader.d.ts +190 -0
- package/dist/data/remote-loader.js +608 -0
- package/dist/data/remote-loader.js.map +1 -0
- package/dist/export/csv.d.ts +28 -0
- package/dist/export/csv.js +61 -0
- package/dist/export/csv.js.map +1 -0
- package/dist/export/download.d.ts +7 -0
- package/dist/export/download.js +17 -0
- package/dist/export/download.js.map +1 -0
- package/dist/export/rows.d.ts +75 -0
- package/dist/export/rows.js +134 -0
- package/dist/export/rows.js.map +1 -0
- package/dist/export/slice.d.ts +15 -0
- package/dist/export/slice.js +35 -0
- package/dist/export/slice.js.map +1 -0
- package/dist/export/types.d.ts +155 -0
- package/dist/export/types.js +2 -0
- package/dist/export/types.js.map +1 -0
- package/dist/export/write.d.ts +38 -0
- package/dist/export/write.js +178 -0
- package/dist/export/write.js.map +1 -0
- package/dist/export-pdf/client.d.ts +75 -0
- package/dist/export-pdf/client.js +155 -0
- package/dist/export-pdf/client.js.map +1 -0
- package/dist/export-pdf/engine.d.ts +73 -0
- package/dist/export-pdf/engine.js +131 -0
- package/dist/export-pdf/engine.js.map +1 -0
- package/dist/export-pdf/grid-pdf.wasm +0 -0
- package/dist/export-pdf/index.d.ts +27 -0
- package/dist/export-pdf/index.js +566 -0
- package/dist/export-pdf/index.js.map +1 -0
- package/dist/export-pdf/serialize.d.ts +23 -0
- package/dist/export-pdf/serialize.js +127 -0
- package/dist/export-pdf/serialize.js.map +1 -0
- package/dist/export-pdf/types.d.ts +150 -0
- package/dist/export-pdf/types.js +2 -0
- package/dist/export-pdf/types.js.map +1 -0
- package/dist/export-pdf/worker.d.ts +2 -0
- package/dist/export-pdf/worker.js +81 -0
- package/dist/export-pdf/worker.js.map +1 -0
- package/dist/export-xlsx/formats.d.ts +14 -0
- package/dist/export-xlsx/formats.js +40 -0
- package/dist/export-xlsx/formats.js.map +1 -0
- package/dist/export-xlsx/index.d.ts +74 -0
- package/dist/export-xlsx/index.js +137 -0
- package/dist/export-xlsx/index.js.map +1 -0
- package/dist/features/adaptive.d.ts +25 -0
- package/dist/features/adaptive.js +47 -0
- package/dist/features/adaptive.js.map +1 -0
- package/dist/features/cell-content-focus.d.ts +29 -0
- package/dist/features/cell-content-focus.js +95 -0
- package/dist/features/cell-content-focus.js.map +1 -0
- package/dist/features/cell-range.d.ts +97 -0
- package/dist/features/cell-range.js +75 -0
- package/dist/features/cell-range.js.map +1 -0
- package/dist/features/clipboard.d.ts +28 -0
- package/dist/features/clipboard.js +48 -0
- package/dist/features/clipboard.js.map +1 -0
- package/dist/features/column-chooser.d.ts +91 -0
- package/dist/features/column-chooser.js +451 -0
- package/dist/features/column-chooser.js.map +1 -0
- package/dist/features/column-dnd.d.ts +10 -0
- package/dist/features/column-dnd.js +126 -0
- package/dist/features/column-dnd.js.map +1 -0
- package/dist/features/context-menu.d.ts +122 -0
- package/dist/features/context-menu.js +153 -0
- package/dist/features/context-menu.js.map +1 -0
- package/dist/features/drag-helper.d.ts +39 -0
- package/dist/features/drag-helper.js +108 -0
- package/dist/features/drag-helper.js.map +1 -0
- package/dist/features/drop-position.d.ts +15 -0
- package/dist/features/drop-position.js +24 -0
- package/dist/features/drop-position.js.map +1 -0
- package/dist/features/editing.d.ts +111 -0
- package/dist/features/editing.js +244 -0
- package/dist/features/editing.js.map +1 -0
- package/dist/features/filter-row.d.ts +80 -0
- package/dist/features/filter-row.js +538 -0
- package/dist/features/filter-row.js.map +1 -0
- package/dist/features/filtering.d.ts +55 -0
- package/dist/features/filtering.js +209 -0
- package/dist/features/filtering.js.map +1 -0
- package/dist/features/group-dnd.d.ts +11 -0
- package/dist/features/group-dnd.js +119 -0
- package/dist/features/group-dnd.js.map +1 -0
- package/dist/features/header-filter.d.ts +100 -0
- package/dist/features/header-filter.js +588 -0
- package/dist/features/header-filter.js.map +1 -0
- package/dist/features/host-label.d.ts +36 -0
- package/dist/features/host-label.js +184 -0
- package/dist/features/host-label.js.map +1 -0
- package/dist/features/keyboard.d.ts +59 -0
- package/dist/features/keyboard.js +127 -0
- package/dist/features/keyboard.js.map +1 -0
- package/dist/features/menu.d.ts +113 -0
- package/dist/features/menu.js +491 -0
- package/dist/features/menu.js.map +1 -0
- package/dist/features/resize.d.ts +82 -0
- package/dist/features/resize.js +214 -0
- package/dist/features/resize.js.map +1 -0
- package/dist/features/scroll-port.d.ts +51 -0
- package/dist/features/scroll-port.js +329 -0
- package/dist/features/scroll-port.js.map +1 -0
- package/dist/features/search.d.ts +45 -0
- package/dist/features/search.js +123 -0
- package/dist/features/search.js.map +1 -0
- package/dist/features/selection.d.ts +37 -0
- package/dist/features/selection.js +103 -0
- package/dist/features/selection.js.map +1 -0
- package/dist/features/sorting.d.ts +39 -0
- package/dist/features/sorting.js +53 -0
- package/dist/features/sorting.js.map +1 -0
- package/dist/features/toolbar.d.ts +125 -0
- package/dist/features/toolbar.js +135 -0
- package/dist/features/toolbar.js.map +1 -0
- package/dist/features/tree.d.ts +53 -0
- package/dist/features/tree.js +94 -0
- package/dist/features/tree.js.map +1 -0
- package/dist/features/validation.d.ts +48 -0
- package/dist/features/validation.js +172 -0
- package/dist/features/validation.js.map +1 -0
- package/dist/grid-column-def.d.ts +521 -0
- package/dist/grid-column-def.js +32 -0
- package/dist/grid-column-def.js.map +1 -0
- package/dist/grid-column.d.ts +173 -0
- package/dist/grid-column.js +382 -0
- package/dist/grid-column.js.map +1 -0
- package/dist/grid-i18n.d.ts +469 -0
- package/dist/grid-i18n.js +3222 -0
- package/dist/grid-i18n.js.map +1 -0
- package/dist/grid.d.ts +1510 -0
- package/dist/grid.js +15972 -0
- package/dist/grid.js.map +1 -0
- package/dist/grid.min.js +3966 -0
- package/dist/grid.styles.d.ts +2 -0
- package/dist/grid.styles.js +2849 -0
- package/dist/grid.styles.js.map +1 -0
- package/dist/render/cell.d.ts +16 -0
- package/dist/render/cell.js +78 -0
- package/dist/render/cell.js.map +1 -0
- package/dist/render/column-window.d.ts +18 -0
- package/dist/render/column-window.js +50 -0
- package/dist/render/column-window.js.map +1 -0
- package/dist/render/content.d.ts +45 -0
- package/dist/render/content.js +140 -0
- package/dist/render/content.js.map +1 -0
- package/dist/render/editors.d.ts +28 -0
- package/dist/render/editors.js +41 -0
- package/dist/render/editors.js.map +1 -0
- package/dist/render/footer.d.ts +61 -0
- package/dist/render/footer.js +61 -0
- package/dist/render/footer.js.map +1 -0
- package/dist/render/group-row.d.ts +35 -0
- package/dist/render/group-row.js +60 -0
- package/dist/render/group-row.js.map +1 -0
- package/dist/render/header.d.ts +108 -0
- package/dist/render/header.js +124 -0
- package/dist/render/header.js.map +1 -0
- package/dist/render/keyed-rows.d.ts +25 -0
- package/dist/render/keyed-rows.js +98 -0
- package/dist/render/keyed-rows.js.map +1 -0
- package/dist/render/virtualizer.d.ts +158 -0
- package/dist/render/virtualizer.js +721 -0
- package/dist/render/virtualizer.js.map +1 -0
- package/dist/row-model/added-rows.d.ts +32 -0
- package/dist/row-model/added-rows.js +95 -0
- package/dist/row-model/added-rows.js.map +1 -0
- package/dist/row-model/cell-range.d.ts +71 -0
- package/dist/row-model/cell-range.js +187 -0
- package/dist/row-model/cell-range.js.map +1 -0
- package/dist/row-model/columns.d.ts +102 -0
- package/dist/row-model/columns.js +222 -0
- package/dist/row-model/columns.js.map +1 -0
- package/dist/row-model/compare.d.ts +40 -0
- package/dist/row-model/compare.js +590 -0
- package/dist/row-model/compare.js.map +1 -0
- package/dist/row-model/distinct.d.ts +39 -0
- package/dist/row-model/distinct.js +105 -0
- package/dist/row-model/distinct.js.map +1 -0
- package/dist/row-model/filter.d.ts +80 -0
- package/dist/row-model/filter.js +582 -0
- package/dist/row-model/filter.js.map +1 -0
- package/dist/row-model/flatten.d.ts +129 -0
- package/dist/row-model/flatten.js +511 -0
- package/dist/row-model/flatten.js.map +1 -0
- package/dist/row-model/fold.d.ts +25 -0
- package/dist/row-model/fold.js +104 -0
- package/dist/row-model/fold.js.map +1 -0
- package/dist/row-model/format.d.ts +58 -0
- package/dist/row-model/format.js +239 -0
- package/dist/row-model/format.js.map +1 -0
- package/dist/row-model/group.d.ts +30 -0
- package/dist/row-model/group.js +173 -0
- package/dist/row-model/group.js.map +1 -0
- package/dist/row-model/lru.d.ts +19 -0
- package/dist/row-model/lru.js +48 -0
- package/dist/row-model/lru.js.map +1 -0
- package/dist/row-model/sort.d.ts +30 -0
- package/dist/row-model/sort.js +107 -0
- package/dist/row-model/sort.js.map +1 -0
- package/dist/row-model/summary.d.ts +64 -0
- package/dist/row-model/summary.js +213 -0
- package/dist/row-model/summary.js.map +1 -0
- package/dist/row-model/tree.d.ts +116 -0
- package/dist/row-model/tree.js +478 -0
- package/dist/row-model/tree.js.map +1 -0
- package/dist/row-model/types.d.ts +109 -0
- package/dist/row-model/types.js +5 -0
- package/dist/row-model/types.js.map +1 -0
- package/dist/row-model/value.d.ts +20 -0
- package/dist/row-model/value.js +57 -0
- package/dist/row-model/value.js.map +1 -0
- package/dist/state/grid-state.d.ts +147 -0
- package/dist/state/grid-state.js +295 -0
- package/dist/state/grid-state.js.map +1 -0
- package/dist/state/storage.d.ts +33 -0
- package/dist/state/storage.js +62 -0
- package/dist/state/storage.js.map +1 -0
- package/dist/state/versioned.d.ts +18 -0
- package/dist/state/versioned.js +56 -0
- package/dist/state/versioned.js.map +1 -0
- package/package.json +145 -6
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Eric Kono
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,173 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `<u-grid>` — @universal-material/data-grid
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@universal-material/data-grid)
|
|
4
|
+
[](https://github.com/erichideyuki/universal-data-grid/blob/main/LICENSE)
|
|
5
|
+
[](https://github.com/sponsors/erichideyuki)
|
|
6
|
+
|
|
7
|
+
**A fast, accessible data grid as a standard Web Component.** `<u-grid>` is built with
|
|
8
|
+
[Lit](https://lit.dev) and belongs to the [Universal Material](https://universal-material.github.io/)
|
|
9
|
+
family. Because it is a native custom element, it works the same in plain HTML, Lit, Angular, React,
|
|
10
|
+
Vue or Svelte.
|
|
11
|
+
|
|
12
|
+
**[Live documentation and examples →](https://universal-material.github.io/data-grid/)**
|
|
13
|
+
· [Full API reference](https://github.com/erichideyuki/universal-data-grid/blob/main/API.md)
|
|
14
|
+
· [GitHub](https://github.com/erichideyuki/universal-data-grid)
|
|
15
|
+
|
|
16
|
+

|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Highlights
|
|
21
|
+
|
|
22
|
+
- **Millions of rows.** Its own row virtualization renders only the visible rows. Sorting,
|
|
23
|
+
grouping and expanding don't add per-row work, and the scroll range scales past the browser's
|
|
24
|
+
maximum element height. Hundreds of columns can be virtualized as well, and the grid can scroll
|
|
25
|
+
with the page or a parent panel (`scroll-container`) and still virtualize both.
|
|
26
|
+
- **Remote data.** A `dataSource` whose server filters, sorts, groups, summarizes and pages. Only the
|
|
27
|
+
visible blocks load, with skeleton rows, a pager or infinite scrolling, a load panel and "Retry".
|
|
28
|
+
- **Shape the data.** Multi-column sorting, a filter row, a search panel, header filters, grouping by
|
|
29
|
+
drag and drop (also by ranges), summaries, tree data and master-detail.
|
|
30
|
+
- **Editing.** Cell, row and batch modes, built-in editors per data type, your own editors, and
|
|
31
|
+
synchronous or server-side validation. The grid never mutates your items: it hands you the
|
|
32
|
+
changes to save.
|
|
33
|
+
- **Real-time updates.** `applyChanges()` patches rows in place and keeps selection, focus and
|
|
34
|
+
expansion. With `reshapeOnChanges`, each batch re-applies filter, sort, groups and summaries, for
|
|
35
|
+
live data that moves.
|
|
36
|
+
- **i18n in 14 languages, plus RTL.** Built-in translations, automatic language detection, `Intl`
|
|
37
|
+
formatting of numbers and dates, global overrides, and full right-to-left layout (Arabic is
|
|
38
|
+
built in).
|
|
39
|
+
- **Accessible.** Follows the WAI-ARIA APG grid (and treegrid) pattern for WCAG 2.2 AA. Full
|
|
40
|
+
keyboard navigation survives virtualization, with screen reader announcements, and is checked
|
|
41
|
+
with `axe-core`.
|
|
42
|
+
- **SSR.** Renders with `@lit-labs/ssr` and hydrates on the client. Templates can be
|
|
43
|
+
server-rendered too.
|
|
44
|
+
- **Theming.** Material `--u-color-*` tokens, `--u-grid-*` custom properties, `::part`s and Lit
|
|
45
|
+
templates for cells, headers, group rows and empty states.
|
|
46
|
+
- **Also included:** cell-range selection with copy and paste, column resize, pin, hide, bands and
|
|
47
|
+
responsive auto-hide, a toolbar and context menus, state persistence, and export to CSV, Excel
|
|
48
|
+
and tagged PDF.
|
|
49
|
+
|
|
50
|
+
## See it in action
|
|
51
|
+
|
|
52
|
+
| A million rows | Search and filter |
|
|
53
|
+
| --- | --- |
|
|
54
|
+
|  |  |
|
|
55
|
+
| **Real-time updates** | **Batch editing** |
|
|
56
|
+
|  |  |
|
|
57
|
+
|
|
58
|
+
Every GIF is recorded from the [live documentation](https://universal-material.github.io/data-grid/), where you can try each feature yourself.
|
|
59
|
+
|
|
60
|
+
## Install
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
npm i @universal-material/data-grid
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
The package is modern ESM with TypeScript declarations and a
|
|
67
|
+
[custom elements manifest](https://github.com/webcomponents/custom-elements-manifest).
|
|
68
|
+
`lit`, `@lit/context` and `interactjs` are regular dependencies, so your bundler shares them with
|
|
69
|
+
the rest of your app. Importing the package registers `<u-grid>` as a side effect.
|
|
70
|
+
|
|
71
|
+
## Quick start
|
|
72
|
+
|
|
73
|
+
### Plain HTML (no build step)
|
|
74
|
+
|
|
75
|
+
A self-contained bundle (Lit included) is published for CDNs. An import map lets you write the same
|
|
76
|
+
`import` as with npm:
|
|
77
|
+
|
|
78
|
+
```html
|
|
79
|
+
<script type="importmap">
|
|
80
|
+
{
|
|
81
|
+
"imports": {
|
|
82
|
+
"@universal-material/data-grid": "https://cdn.jsdelivr.net/npm/@universal-material/data-grid@0.2/dist/grid.min.js"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
</script>
|
|
86
|
+
|
|
87
|
+
<u-grid style="height: 400px"></u-grid>
|
|
88
|
+
|
|
89
|
+
<script type="module">
|
|
90
|
+
import '@universal-material/data-grid';
|
|
91
|
+
|
|
92
|
+
const grid = document.querySelector('u-grid');
|
|
93
|
+
grid.columns = [
|
|
94
|
+
{ path: 'country', label: 'Country' },
|
|
95
|
+
{ path: 'year', label: 'Year', dataType: 'number', groupIndex: 0 },
|
|
96
|
+
{ path: 'population', label: 'Population', dataType: 'number' },
|
|
97
|
+
];
|
|
98
|
+
grid.items = [
|
|
99
|
+
{ country: 'Brazil', year: 2022, population: 215313498 },
|
|
100
|
+
{ country: 'Japan', year: 2022, population: 124947000 },
|
|
101
|
+
];
|
|
102
|
+
</script>
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
> **Give the grid a height.** It fills its container (`height: 100%`), so the grid or its parent
|
|
106
|
+
> needs a defined height for the scroll area — unless it scrolls with the page or a parent
|
|
107
|
+
> ([`scroll-container`](https://github.com/erichideyuki/universal-data-grid/blob/main/API.md#scrolling-with-the-page-or-a-parent)).
|
|
108
|
+
|
|
109
|
+
### Lit
|
|
110
|
+
|
|
111
|
+
```ts
|
|
112
|
+
import { LitElement, html } from 'lit';
|
|
113
|
+
import { customElement } from 'lit/decorators.js';
|
|
114
|
+
import '@universal-material/data-grid';
|
|
115
|
+
import type { GridColumnDef } from '@universal-material/data-grid';
|
|
116
|
+
|
|
117
|
+
interface Order { id: number; customer: string; total: number }
|
|
118
|
+
|
|
119
|
+
@customElement('order-list')
|
|
120
|
+
export class OrderList extends LitElement {
|
|
121
|
+
columns: GridColumnDef<Order>[] = [
|
|
122
|
+
{ path: 'customer', label: 'Customer' },
|
|
123
|
+
{ path: 'total', label: 'Total', dataType: 'number', format: { style: 'currency', currency: 'USD' } },
|
|
124
|
+
];
|
|
125
|
+
|
|
126
|
+
items: Order[] = [{ id: 1, customer: 'Ana', total: 120 }];
|
|
127
|
+
|
|
128
|
+
render() {
|
|
129
|
+
return html`<u-grid style="height: 400px" key-expr="id" .columns=${this.columns} .items=${this.items}
|
|
130
|
+
@u-grid-selection-change=${(e: CustomEvent) => console.log(e.detail)}></u-grid>`;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Other frameworks
|
|
136
|
+
|
|
137
|
+
Set `columns`, `items` and other objects as **properties** (not attributes), and listen to the
|
|
138
|
+
`u-grid-*` events: `[columns]` in Angular (with `CUSTOM_ELEMENTS_SCHEMA`), `columns={…}` in
|
|
139
|
+
React 19+, and `:columns.prop` in Vue. Import the package before the first render. Details are in
|
|
140
|
+
[Using with frameworks](https://github.com/erichideyuki/universal-data-grid/blob/main/API.md#using-with-frameworks).
|
|
141
|
+
|
|
142
|
+
## Documentation
|
|
143
|
+
|
|
144
|
+
- **[Live docs](https://universal-material.github.io/data-grid/)** have one runnable example per
|
|
145
|
+
feature, with its source code.
|
|
146
|
+
- **[API.md](https://github.com/erichideyuki/universal-data-grid/blob/main/API.md)** is the complete
|
|
147
|
+
guide and reference: every property, attribute, method, event, type, CSS custom property and
|
|
148
|
+
part, by feature. Popular sections:
|
|
149
|
+
[columns](https://github.com/erichideyuki/universal-data-grid/blob/main/API.md#defining-columns),
|
|
150
|
+
[data sources and paging](https://github.com/erichideyuki/universal-data-grid/blob/main/API.md#data-sources-keys--paging),
|
|
151
|
+
[real-time changes](https://github.com/erichideyuki/universal-data-grid/blob/main/API.md#refreshing-and-incremental-changes),
|
|
152
|
+
[editing](https://github.com/erichideyuki/universal-data-grid/blob/main/API.md#editing),
|
|
153
|
+
[i18n](https://github.com/erichideyuki/universal-data-grid/blob/main/API.md#internationalization-i18n),
|
|
154
|
+
[accessibility](https://github.com/erichideyuki/universal-data-grid/blob/main/API.md#accessibility),
|
|
155
|
+
[theming](https://github.com/erichideyuki/universal-data-grid/blob/main/API.md#theming),
|
|
156
|
+
[SSR](https://github.com/erichideyuki/universal-data-grid/blob/main/API.md#server-side-rendering) and the
|
|
157
|
+
[API tables](https://github.com/erichideyuki/universal-data-grid/blob/main/API.md#api-reference).
|
|
158
|
+
- `@universal-material/data-grid/custom-elements.json` describes the elements for IDEs and
|
|
159
|
+
tooling.
|
|
160
|
+
|
|
161
|
+
## Browser support
|
|
162
|
+
|
|
163
|
+
Current evergreen browsers: Chrome and Edge 114+, Firefox 125+, and Safari 17+. The grid relies on
|
|
164
|
+
ES2022, the Popover API and modern CSS (`color-mix()`, `:has()`). Internet Explorer and legacy
|
|
165
|
+
Edge are not supported.
|
|
166
|
+
|
|
167
|
+
## Sponsor
|
|
168
|
+
|
|
169
|
+
If `<u-grid>` helps you, consider [sponsoring its development on GitHub](https://github.com/sponsors/erichideyuki).
|
|
170
|
+
|
|
171
|
+
## License
|
|
172
|
+
|
|
173
|
+
[MIT](https://github.com/erichideyuki/universal-data-grid/blob/main/LICENSE) © Eric Kono
|