ods-component-lib 1.17.91 → 1.17.93
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 +5 -7
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -7
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1202,6 +1202,8 @@ function OdsDataGrid(props) {
|
|
|
1202
1202
|
return grid(props, dataGridRef);
|
|
1203
1203
|
}
|
|
1204
1204
|
function grid(props, dataGridRef) {
|
|
1205
|
+
localization.locale(sessionStorage.getItem("locale"));
|
|
1206
|
+
localization.loadMessages(JSON.parse(sessionStorage.getItem("localTranslation")));
|
|
1205
1207
|
var headerCellRender = function headerCellRender(colProperties) {
|
|
1206
1208
|
return React__default.createElement("th", {
|
|
1207
1209
|
className: "dx-datagrid-headers",
|
|
@@ -1264,10 +1266,7 @@ function grid(props, dataGridRef) {
|
|
|
1264
1266
|
};
|
|
1265
1267
|
localStorage.setItem(props.exportFileName + "Storage", JSON.stringify(state));
|
|
1266
1268
|
};
|
|
1267
|
-
React.useEffect(function () {
|
|
1268
|
-
localization.locale(sessionStorage.getItem("locale"));
|
|
1269
|
-
localization.loadMessages(JSON.parse(sessionStorage.getItem("localTranslation")));
|
|
1270
|
-
}, []);
|
|
1269
|
+
React.useEffect(function () {}, []);
|
|
1271
1270
|
return React__default.createElement(React__default.Fragment, null, React__default.createElement("div", {
|
|
1272
1271
|
className: "odsDatagrid",
|
|
1273
1272
|
style: {
|
|
@@ -1456,9 +1455,8 @@ function grid(props, dataGridRef) {
|
|
|
1456
1455
|
}), React__default.createElement(dataGrid.Item, {
|
|
1457
1456
|
menuItemRender: renderMenuItem
|
|
1458
1457
|
})), React__default.createElement(dataGrid.Summary, null, React__default.createElement(dataGrid.TotalItem, {
|
|
1459
|
-
column: "
|
|
1460
|
-
summaryType: "count"
|
|
1461
|
-
displayFormat: "{0} " + props.TotaDatalLanguage
|
|
1458
|
+
column: "id",
|
|
1459
|
+
summaryType: "count"
|
|
1462
1460
|
})), React__default.createElement(dataGrid.StateStoring, {
|
|
1463
1461
|
enabled: true,
|
|
1464
1462
|
type: "custom",
|