ods-component-lib 1.17.91 → 1.17.92
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 -6
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -6
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1198,6 +1198,8 @@ function OdsDataGrid(props) {
|
|
|
1198
1198
|
return grid(props, dataGridRef);
|
|
1199
1199
|
}
|
|
1200
1200
|
function grid(props, dataGridRef) {
|
|
1201
|
+
locale(sessionStorage.getItem("locale"));
|
|
1202
|
+
loadMessages(JSON.parse(sessionStorage.getItem("localTranslation")));
|
|
1201
1203
|
var headerCellRender = function headerCellRender(colProperties) {
|
|
1202
1204
|
return React.createElement("th", {
|
|
1203
1205
|
className: "dx-datagrid-headers",
|
|
@@ -1260,10 +1262,7 @@ function grid(props, dataGridRef) {
|
|
|
1260
1262
|
};
|
|
1261
1263
|
localStorage.setItem(props.exportFileName + "Storage", JSON.stringify(state));
|
|
1262
1264
|
};
|
|
1263
|
-
useEffect(function () {
|
|
1264
|
-
locale(sessionStorage.getItem("locale"));
|
|
1265
|
-
loadMessages(JSON.parse(sessionStorage.getItem("localTranslation")));
|
|
1266
|
-
}, []);
|
|
1265
|
+
useEffect(function () {}, []);
|
|
1267
1266
|
return React.createElement(React.Fragment, null, React.createElement("div", {
|
|
1268
1267
|
className: "odsDatagrid",
|
|
1269
1268
|
style: {
|
|
@@ -1453,8 +1452,7 @@ function grid(props, dataGridRef) {
|
|
|
1453
1452
|
menuItemRender: renderMenuItem
|
|
1454
1453
|
})), React.createElement(Summary, null, React.createElement(TotalItem, {
|
|
1455
1454
|
column: "Id",
|
|
1456
|
-
summaryType: "count"
|
|
1457
|
-
displayFormat: "{0} " + props.TotaDatalLanguage
|
|
1455
|
+
summaryType: "count"
|
|
1458
1456
|
})), React.createElement(StateStoring, {
|
|
1459
1457
|
enabled: true,
|
|
1460
1458
|
type: "custom",
|