ods-component-lib 1.17.174 → 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 +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -3
- 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') {
|
|
@@ -1398,7 +1399,7 @@ function grid(props, dataGridRef) {
|
|
|
1398
1399
|
}), React.createElement(ColumnChooser, {
|
|
1399
1400
|
enabled: true,
|
|
1400
1401
|
mode: "select"
|
|
1401
|
-
}, !props.
|
|
1402
|
+
}, !props.columnChooserPositionDisabled && React.createElement(Position, {
|
|
1402
1403
|
my: "right top",
|
|
1403
1404
|
at: "right bottom",
|
|
1404
1405
|
of: ".dx-datagrid-column-chooser-button"
|
|
@@ -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,
|
|
@@ -1530,7 +1531,7 @@ function grid(props, dataGridRef) {
|
|
|
1530
1531
|
column: props.totalColumunName == undefined ? "Id" : props.totalColumunName,
|
|
1531
1532
|
summaryType: "count",
|
|
1532
1533
|
displayFormat: props.TotaDatalLanguage + " : " + (props.TotalDataCount == undefined ? "{0}" : props.TotalDataCount + " / " + props.TotalPagesize)
|
|
1533
|
-
})), React.createElement(StateStoring, {
|
|
1534
|
+
})), props.storeState && React.createElement(StateStoring, {
|
|
1534
1535
|
enabled: true,
|
|
1535
1536
|
type: "custom",
|
|
1536
1537
|
customLoad: customLoad,
|