@revolist/svelte-datagrid 4.23.7 → 4.23.10
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/README.md +28 -14
- package/lib/components/RevoGrid.ts +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
<h3 align="center">Powerful Svelte Data Grid component built on top of <a href="https://github.com/revolist/revogrid" target="_blank">RevoGrid</a>.</h3>
|
|
24
24
|
<p align="center">
|
|
25
|
-
|
|
25
|
+
Render 1M+ rows, millions of cells, and thousands of columns efficiently with no hard row limit in the grid.
|
|
26
26
|
</p>
|
|
27
27
|
<p align="center">
|
|
28
28
|
Used by some of the largest companies in Europe and the United States.
|
|
@@ -44,7 +44,7 @@ Used by some of the largest companies in Europe and the United States.
|
|
|
44
44
|
|
|
45
45
|
## Key Features
|
|
46
46
|
|
|
47
|
-
- **High Performance**:
|
|
47
|
+
- **High Performance**: Render 1M+ rows and millions of cells with no hard row limit in the grid. Virtualization keeps the DOM focused on the visible viewport.
|
|
48
48
|
|
|
49
49
|
- **[Accessibility](https://rv-grid.com/guide/wcag)**: Follows WAI-ARIA best practices.
|
|
50
50
|
|
|
@@ -59,7 +59,7 @@ Used by some of the largest companies in Europe and the United States.
|
|
|
59
59
|
|
|
60
60
|
- **[Intelligent Virtual DOM](https://rv-grid.com/guide/overview#VNode-Reactive-DOM)**: Smart row recombination to minimize redraws.
|
|
61
61
|
|
|
62
|
-
- **[Virtual Scroll](https://rv-grid.com/guide/viewports)**: Handles large datasets
|
|
62
|
+
- **[Virtual Scroll](https://rv-grid.com/guide/viewports)**: Handles large datasets without rendering every row or column into the DOM.
|
|
63
63
|
|
|
64
64
|
- **[Drag and Drop](https://rv-grid.com/guide/row/order)**: Drag and drop in [rows](https://rv-grid.com/guide/row/order) and [columns](https://rv-grid.com/guide/column/order).
|
|
65
65
|
|
|
@@ -75,7 +75,10 @@ Used by some of the largest companies in Europe and the United States.
|
|
|
75
75
|
- Header filtering.
|
|
76
76
|
- Custom filters to extend system filters with your own set.
|
|
77
77
|
|
|
78
|
-
- **[Export](https://rv-grid.com/guide/export.plugin)**:
|
|
78
|
+
- **[Export](https://rv-grid.com/guide/export.plugin)**:
|
|
79
|
+
- **[CSV](https://rv-grid.com/guide/export.plugin)**: Built-in file export for core RevoGrid data workflows.
|
|
80
|
+
- **[PDF](https://rv-grid.com/guide/pdf-export)**: Browser-side PDF export with the lightweight [`@revolist/revogrid-pdf-export`](https://www.npmjs.com/package/@revolist/revogrid-pdf-export) plugin.
|
|
81
|
+
- **[Excel (Pro)](https://rv-grid.com/guide/data-grid-export-excel)**: Workbook export for RevoGrid Pro with layout, styles, frozen panes, merged cells, and formulas.
|
|
79
82
|
|
|
80
83
|
- **Custom Sizes**: Define custom sizes for [columns](https://rv-grid.com/guide/column/#Column-Size) and [rows](https://rv-grid.com/guide/row/height). Automatic sizing based on content.
|
|
81
84
|
|
|
@@ -112,23 +115,18 @@ Used by some of the largest companies in Europe and the United States.
|
|
|
112
115
|
|
|
113
116
|
- **[Plugin System](https://rv-grid.com/guide/plugin/)**: Create custom plugins or extend existing ones easily.
|
|
114
117
|
|
|
115
|
-
- **[Formula Support](https://rv-grid.com/guide/cell/formula)**: Evaluate formulas in cell data with Excel-like syntax, including basic arithmetic, statistical functions, and cell references.
|
|
116
|
-
- **[Pivot Table](https://rv-grid.com/demo/pivot)**: Transform and analyze data dynamically with drag-and-drop field arrangement, aggregation functions, and interactive filtering capabilities.
|
|
117
|
-
|
|
118
|
-
- **[Master Detail/Subtables/Forms](https://rv-grid.com/guide/row/master.pro)**: Expand rows to reveal child data.
|
|
119
|
-
- **[Cell/Column/Row Span/Merge](https://rv-grid.com/guide/cell/merge)**: Merge cells to form groups.
|
|
120
|
-
- **Auto Merge**: Automatically merges cells with identical values in a column.
|
|
121
|
-
- **Form editig**: Edit forms directly within the grid, featuring all necessary fields, including custom options and markdown support for a fast and enhanced data entry experience.
|
|
122
|
-
|
|
123
118
|
- **Customizations**:
|
|
124
119
|
- [Column header template](https://rv-grid.com/guide/column/header.template).
|
|
125
120
|
- [Row header template](https://rv-grid.com/guide/row/headers).
|
|
126
121
|
- [Cell properties](https://rv-grid.com/guide/cell/) (define custom properties for rendered cells).
|
|
127
|
-
-
|
|
128
|
-
-
|
|
122
|
+
- [Cell template](https://rv-grid.com/guide/cell/renderer) (create your own cell views).
|
|
123
|
+
- [Cell editor](https://rv-grid.com/guide/cell/editor) (use predefined or apply your own custom editors and cell types).
|
|
129
124
|
|
|
130
125
|
- **[AI Agents and MCP](https://rv-grid.com/guide/mcp)**: Connect Codex, Cursor, Claude Code, and VS Code to version-aware RevoGrid docs, examples, migrations, feature availability, and typed API context.
|
|
131
126
|
|
|
127
|
+
- **Rich API & Additional Improvements**: Explore hundreds of other small customizations and improvements in [RevoGrid](https://rv-grid.com/).
|
|
128
|
+
|
|
129
|
+
|
|
132
130
|
|
|
133
131
|
> ⚠️ **Note**: Repository Notice: This repo is read-only. Create new issues at the [revogrid repo](https://github.com/revolist/revogrid)
|
|
134
132
|
|
|
@@ -312,6 +310,22 @@ npm run test:e2e
|
|
|
312
310
|
|
|
313
311
|
Test files live in `e2e/` and share helpers from `e2e/helpers.ts`:
|
|
314
312
|
|
|
313
|
+
### Local startup troubleshooting
|
|
314
|
+
|
|
315
|
+
For targeted local work, confirm a new or changed test is discoverable before starting the dev server:
|
|
316
|
+
|
|
317
|
+
```bash
|
|
318
|
+
./node_modules/.bin/playwright test e2e/pinning.spec.ts --grep "test name" --list
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
Then run a non-watch Stencil build to catch compile errors without invoking the Playwright web-server lifecycle:
|
|
322
|
+
|
|
323
|
+
```bash
|
|
324
|
+
./node_modules/.bin/stencil build --dev --serve --no-open
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
If Playwright fails before any tests run with a Stencil dev-server startup error such as `ERR_SOCKET_BAD_PORT` and port `65536`, treat it as an environment/startup issue rather than an e2e assertion failure. Check `node -v` and whether another local server is already using `localhost:3333`, then retry only after changing that environment state.
|
|
328
|
+
|
|
315
329
|
|
|
316
330
|
## Contributing
|
|
317
331
|
|
|
@@ -23,7 +23,7 @@ Alternatively you can use `rowSize` to reset viewport */
|
|
|
23
23
|
/** Indicates default column size. */
|
|
24
24
|
colSize?: Components.RevoGrid["colSize"]
|
|
25
25
|
|
|
26
|
-
/** When true, user can range
|
|
26
|
+
/** When true, user can select a cell range. Required for range-based clipboard fill. */
|
|
27
27
|
range?: Components.RevoGrid["range"]
|
|
28
28
|
|
|
29
29
|
/** When true, grid in read only mode. */
|
|
@@ -38,7 +38,7 @@ Alternatively you can use `rowSize` to reset viewport */
|
|
|
38
38
|
/** When true cell focus appear. */
|
|
39
39
|
canFocus?: Components.RevoGrid["canFocus"]
|
|
40
40
|
|
|
41
|
-
/** When true enable clipboard. */
|
|
41
|
+
/** When true enable clipboard. Can be boolean or clipboard config. */
|
|
42
42
|
useClipboard?: Components.RevoGrid["useClipboard"]
|
|
43
43
|
|
|
44
44
|
/** Columns - defines an array of grid columns.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revolist/svelte-datagrid",
|
|
3
|
-
"version": "4.23.
|
|
3
|
+
"version": "4.23.10",
|
|
4
4
|
"description": "Svelte DataGrid Spreadsheet component with native cell render support",
|
|
5
5
|
"main": "./dist/svelte-datagrid.umd.cjs",
|
|
6
6
|
"module": "./dist/svelte-datagrid.js",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"vite-plugin-dts": "^5.0.1"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@revolist/revogrid": "4.23.
|
|
76
|
+
"@revolist/revogrid": "4.23.10"
|
|
77
77
|
},
|
|
78
78
|
"publishConfig": {
|
|
79
79
|
"access": "public"
|