ods-component-lib 1.17.176 → 1.17.178
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 +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1274,6 +1274,7 @@ function OdsDataGrid(props) {
|
|
|
1274
1274
|
return grid(props, dataGridRef);
|
|
1275
1275
|
}
|
|
1276
1276
|
function grid(props, dataGridRef) {
|
|
1277
|
+
var _props$selectionDefer;
|
|
1277
1278
|
var fileName = props.exportFileName ? props.exportFileName + moment().format("YYYYMMDD") : "DatagridExportFile" + moment().format("YYYYMMDD");
|
|
1278
1279
|
var onExporting = function onExporting(e) {
|
|
1279
1280
|
if (e.format === 'xlsx') {
|
|
@@ -1410,7 +1411,7 @@ function grid(props, dataGridRef) {
|
|
|
1410
1411
|
recursive: true
|
|
1411
1412
|
})), props.selectEnable && React.createElement(Selection, {
|
|
1412
1413
|
mode: "multiple",
|
|
1413
|
-
deferred: true
|
|
1414
|
+
deferred: (_props$selectionDefer = props === null || props === void 0 ? void 0 : props.selectionDeferred) != null ? _props$selectionDefer : true
|
|
1414
1415
|
}), props.editEnable === true && React.createElement(Editing, {
|
|
1415
1416
|
mode: props.edit.mode,
|
|
1416
1417
|
allowUpdating: props.edit.allowUpdating,
|