@revolist/react-datagrid 4.0.50 → 4.8.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/README.md +4 -4
- package/dist/react-datagrid.js +3 -0
- package/dist/react-datagrid.umd.cjs +3 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<a href="https://
|
|
2
|
+
<a href="https://rv-grid.com">
|
|
3
3
|
<img src="./assets/logo.svg" alt="RevoGrid" height="150" />
|
|
4
4
|
</a>
|
|
5
5
|
</p>
|
|
@@ -20,7 +20,7 @@ Support Millions of cells and thousands of columns easy and efficiently for fast
|
|
|
20
20
|
</p>
|
|
21
21
|
|
|
22
22
|
<p align="center">
|
|
23
|
-
<a href="https://
|
|
23
|
+
<a href="https://rv-grid.com">Demo and API</a> •
|
|
24
24
|
<a href="#key-features">Key Features</a> •
|
|
25
25
|
<a href="#basic-usage">How To Use</a> •
|
|
26
26
|
<a href="#installation">Installation</a> •
|
|
@@ -75,7 +75,7 @@ Support Millions of cells and thousands of columns easy and efficiently for fast
|
|
|
75
75
|
- Cell editor (use predefined or apply your own custom editors and cell types).
|
|
76
76
|
- Cell properties (define custom properties for rendered cells).
|
|
77
77
|
|
|
78
|
-
- **Column Types**: [More details](https://
|
|
78
|
+
- **Column Types**: [More details](https://rv-grid.com/guide/column/#Column-Formats)
|
|
79
79
|
- Text/String (default).
|
|
80
80
|
- Number.
|
|
81
81
|
- Select.
|
|
@@ -98,7 +98,7 @@ Support Millions of cells and thousands of columns easy and efficiently for fast
|
|
|
98
98
|
|
|
99
99
|
- **Plugin System**: Create custom plugins or extend existing ones easily.
|
|
100
100
|
|
|
101
|
-
- **Additional Customizations and Improvements**: Explore hundreds of other small customizations and improvements in [RevoGrid](https://
|
|
101
|
+
- **Additional Customizations and Improvements**: Explore hundreds of other small customizations and improvements in [RevoGrid](https://rv-grid.com/).
|
|
102
102
|
|
|
103
103
|
<br>
|
|
104
104
|
|
package/dist/react-datagrid.js
CHANGED
|
@@ -200,6 +200,7 @@ const Template = (ReactComponent, customProps) => {
|
|
|
200
200
|
props.addition = addition;
|
|
201
201
|
let lastEl = null;
|
|
202
202
|
return h("span", {
|
|
203
|
+
key: `${p.prop}-${p.rowIndex}`,
|
|
203
204
|
ref: (el) => {
|
|
204
205
|
lastEl = TemplateConstructor(el, ReactComponent, props, lastEl);
|
|
205
206
|
}
|
|
@@ -226,7 +227,9 @@ class EditorAdapter {
|
|
|
226
227
|
this.renderedComponent = null;
|
|
227
228
|
}
|
|
228
229
|
render(h) {
|
|
230
|
+
var _a;
|
|
229
231
|
return h("span", {
|
|
232
|
+
key: `${this.column.prop}-${((_a = this.editCell) == null ? void 0 : _a.rowIndex) || 0}`,
|
|
230
233
|
ref: (el) => this.renderedComponent = TemplateConstructor(
|
|
231
234
|
el,
|
|
232
235
|
this.EditorComponent,
|
|
@@ -200,6 +200,7 @@ var __publicField = (obj, key, value) => {
|
|
|
200
200
|
props.addition = addition;
|
|
201
201
|
let lastEl = null;
|
|
202
202
|
return h("span", {
|
|
203
|
+
key: `${p.prop}-${p.rowIndex}`,
|
|
203
204
|
ref: (el) => {
|
|
204
205
|
lastEl = TemplateConstructor(el, ReactComponent, props, lastEl);
|
|
205
206
|
}
|
|
@@ -226,7 +227,9 @@ var __publicField = (obj, key, value) => {
|
|
|
226
227
|
this.renderedComponent = null;
|
|
227
228
|
}
|
|
228
229
|
render(h) {
|
|
230
|
+
var _a;
|
|
229
231
|
return h("span", {
|
|
232
|
+
key: `${this.column.prop}-${((_a = this.editCell) == null ? void 0 : _a.rowIndex) || 0}`,
|
|
230
233
|
ref: (el) => this.renderedComponent = TemplateConstructor(
|
|
231
234
|
el,
|
|
232
235
|
this.EditorComponent,
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revolist/react-datagrid",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "4.0
|
|
4
|
+
"version": "4.8.0",
|
|
5
5
|
"description": "React DataGrid Spreadsheet component with native cell render support",
|
|
6
|
-
"main": "./dist/react-datagrid.umd.
|
|
6
|
+
"main": "./dist/react-datagrid.umd.cjs",
|
|
7
7
|
"module": "./dist/react-datagrid.js",
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"homepage": "https://github.com/revolist/revogrid#readme",
|
|
65
65
|
"license": "MIT",
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@revolist/revogrid": "4.0
|
|
67
|
+
"@revolist/revogrid": "4.8.0"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@types/react": "^18.3.2",
|