ods-component-lib 1.17.99 → 1.17.100
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 +10 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +10 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1268,7 +1268,15 @@ function grid(props, dataGridRef) {
|
|
|
1268
1268
|
localization.locale(sessionStorage.getItem("locale"));
|
|
1269
1269
|
localization.loadMessages(JSON.parse(sessionStorage.getItem("localTranslation")));
|
|
1270
1270
|
}, []);
|
|
1271
|
-
return React__default.createElement(React__default.Fragment, null, React__default.createElement(
|
|
1271
|
+
return React__default.createElement(React__default.Fragment, null, React__default.createElement("div", {
|
|
1272
|
+
className: "odsDatagrid",
|
|
1273
|
+
style: {
|
|
1274
|
+
width: "100%",
|
|
1275
|
+
overflowX: 'hidden',
|
|
1276
|
+
overflowY: "hidden",
|
|
1277
|
+
marginTop: "10px"
|
|
1278
|
+
}
|
|
1279
|
+
}, React__default.createElement(dataGrid.DataGrid, {
|
|
1272
1280
|
dataSource: props.dataSource,
|
|
1273
1281
|
keyExpr: props.keyExpr,
|
|
1274
1282
|
allowColumnResizing: true,
|
|
@@ -1463,7 +1471,7 @@ function grid(props, dataGridRef) {
|
|
|
1463
1471
|
type: "custom",
|
|
1464
1472
|
customLoad: customLoad,
|
|
1465
1473
|
customSave: customSave
|
|
1466
|
-
})));
|
|
1474
|
+
}))));
|
|
1467
1475
|
}
|
|
1468
1476
|
|
|
1469
1477
|
var exportFormats$1 = ['xlsx', 'pdf'];
|