react-table-edit 0.3.9 → 0.4.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/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1622,7 +1622,7 @@ var TableEdit = (0, import_react12.forwardRef)((props, ref) => {
|
|
|
1622
1622
|
};
|
|
1623
1623
|
const handleDataChange = (row, col, indexRow) => {
|
|
1624
1624
|
if (rowChange) {
|
|
1625
|
-
const rs = rowChange(
|
|
1625
|
+
const rs = rowChange(row, indexRow, col.field);
|
|
1626
1626
|
if (rs && rs?.then) {
|
|
1627
1627
|
rs.then(() => {
|
|
1628
1628
|
for (let index = 0; index <= contentColumns.length; index++) {
|
package/dist/index.mjs
CHANGED
|
@@ -1581,7 +1581,7 @@ var TableEdit = forwardRef2((props, ref) => {
|
|
|
1581
1581
|
};
|
|
1582
1582
|
const handleDataChange = (row, col, indexRow) => {
|
|
1583
1583
|
if (rowChange) {
|
|
1584
|
-
const rs = rowChange(
|
|
1584
|
+
const rs = rowChange(row, indexRow, col.field);
|
|
1585
1585
|
if (rs && rs?.then) {
|
|
1586
1586
|
rs.then(() => {
|
|
1587
1587
|
for (let index = 0; index <= contentColumns.length; index++) {
|