arengibook 2.0.15-table → 2.0.16-table
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 +7 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -48386,7 +48386,12 @@ var Table = function Table(_ref1) {
|
|
|
48386
48386
|
editable: colEditable,
|
|
48387
48387
|
isRowEditing: !!editingRows[rowData.id],
|
|
48388
48388
|
onSave: function onSave(v) {
|
|
48389
|
-
|
|
48389
|
+
updateRow(rowData.id, col.field, v);
|
|
48390
|
+
onCellChange === null || onCellChange === void 0 || onCellChange({
|
|
48391
|
+
rowData: rowData,
|
|
48392
|
+
field: col.field,
|
|
48393
|
+
newValue: v
|
|
48394
|
+
});
|
|
48390
48395
|
}
|
|
48391
48396
|
});
|
|
48392
48397
|
};
|
|
@@ -48444,7 +48449,7 @@ var Table = function Table(_ref1) {
|
|
|
48444
48449
|
};
|
|
48445
48450
|
}
|
|
48446
48451
|
return displayFn;
|
|
48447
|
-
}, [rowEdit, editable, editingRows, updateRow, linkTemplate, dateTemplate, selectTemplate, selectMultipleTemplate, colorTextTemplate, pictoTemplate, textTemplate, numericTemplate, calculTemplate, documentTemplate, deviseTemplate, treeSelectTemplate]);
|
|
48452
|
+
}, [rowEdit, editable, editingRows, updateRow, onCellChange, linkTemplate, dateTemplate, selectTemplate, selectMultipleTemplate, colorTextTemplate, pictoTemplate, textTemplate, numericTemplate, calculTemplate, documentTemplate, deviseTemplate, treeSelectTemplate]);
|
|
48448
48453
|
var getSortField = useCallback(function (col) {
|
|
48449
48454
|
return col.field;
|
|
48450
48455
|
}, []);
|