ods-component-lib 1.17.122 → 1.17.124
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 -16
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -17
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1287,8 +1287,8 @@ function grid(props, dataGridRef) {
|
|
|
1287
1287
|
localStorage.setItem(props.exportFileName + "Storage", JSON.stringify(state));
|
|
1288
1288
|
};
|
|
1289
1289
|
React.useEffect(function () {
|
|
1290
|
-
localization.locale(
|
|
1291
|
-
localization.loadMessages(JSON.parse(
|
|
1290
|
+
localization.locale(localStorage.getItem("locale"));
|
|
1291
|
+
localization.loadMessages(JSON.parse(localStorage.getItem("localTranslation")));
|
|
1292
1292
|
}, []);
|
|
1293
1293
|
return React__default.createElement(React__default.Fragment, null, React__default.createElement("div", {
|
|
1294
1294
|
className: "odsDatagrid",
|
|
@@ -1338,13 +1338,6 @@ function grid(props, dataGridRef) {
|
|
|
1338
1338
|
visible: true
|
|
1339
1339
|
}), React__default.createElement(dataGrid.FilterPanel, {
|
|
1340
1340
|
visible: true
|
|
1341
|
-
}), props.remoteOperations && React__default.createElement(dataGrid.RemoteOperations, {
|
|
1342
|
-
filtering: true,
|
|
1343
|
-
paging: false,
|
|
1344
|
-
sorting: true,
|
|
1345
|
-
summary: false,
|
|
1346
|
-
grouping: false,
|
|
1347
|
-
groupPaging: false
|
|
1348
1341
|
}), props.headerFilterEnable && React__default.createElement(dataGrid.HeaderFilter, {
|
|
1349
1342
|
visible: true
|
|
1350
1343
|
}), React__default.createElement(dataGrid.ColumnChooser, {
|
|
@@ -1486,13 +1479,6 @@ function grid(props, dataGridRef) {
|
|
|
1486
1479
|
column: props.totalColumunName == undefined ? "Id" : props.totalColumunName,
|
|
1487
1480
|
summaryType: "count",
|
|
1488
1481
|
displayFormat: props.TotaDatalLanguage + " : {0} "
|
|
1489
|
-
}), props.sumaryRowItems && props.sumaryRowItems.map(function (item) {
|
|
1490
|
-
return React__default.createElement(dataGrid.TotalItem, {
|
|
1491
|
-
column: item.columnName,
|
|
1492
|
-
summaryType: item.aggregateFn,
|
|
1493
|
-
valueFormat: item.valueFormat ? item.valueFormat : "",
|
|
1494
|
-
displayFormat: props.TotalLanguage + " : {0}"
|
|
1495
|
-
});
|
|
1496
1482
|
})), React__default.createElement(dataGrid.StateStoring, {
|
|
1497
1483
|
enabled: true,
|
|
1498
1484
|
type: "custom",
|