ods-component-lib 1.17.98 → 1.17.99
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 -12
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -12
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1268,15 +1268,7 @@ 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(
|
|
1272
|
-
className: "odsDatagrid",
|
|
1273
|
-
style: {
|
|
1274
|
-
width: "100%",
|
|
1275
|
-
overflowX: 'hidden',
|
|
1276
|
-
overflowY: "hidden",
|
|
1277
|
-
marginTop: "10px"
|
|
1278
|
-
}
|
|
1279
|
-
}, React__default.createElement(dataGrid.DataGrid, {
|
|
1271
|
+
return React__default.createElement(React__default.Fragment, null, React__default.createElement(dataGrid.DataGrid, {
|
|
1280
1272
|
dataSource: props.dataSource,
|
|
1281
1273
|
keyExpr: props.keyExpr,
|
|
1282
1274
|
allowColumnResizing: true,
|
|
@@ -1288,9 +1280,9 @@ function grid(props, dataGridRef) {
|
|
|
1288
1280
|
allowColumnReordering: true,
|
|
1289
1281
|
showRowLines: true,
|
|
1290
1282
|
showBorders: true,
|
|
1291
|
-
columnAutoWidth: false,
|
|
1283
|
+
columnAutoWidth: props.columnAutoWidth == undefined ? false : props.columnAutoWidth,
|
|
1292
1284
|
focusedRowEnabled: false,
|
|
1293
|
-
wordWrapEnabled: false,
|
|
1285
|
+
wordWrapEnabled: props.wordWrapEnabled == undefined ? false : props.wordWrapEnabled,
|
|
1294
1286
|
noDataText: props.noDataLanguage == undefined ? "No Data" : props.noDataLanguage,
|
|
1295
1287
|
onEditCanceling: props.onEditCanceling,
|
|
1296
1288
|
onExporting: onExporting,
|
|
@@ -1471,7 +1463,7 @@ function grid(props, dataGridRef) {
|
|
|
1471
1463
|
type: "custom",
|
|
1472
1464
|
customLoad: customLoad,
|
|
1473
1465
|
customSave: customSave
|
|
1474
|
-
})))
|
|
1466
|
+
})));
|
|
1475
1467
|
}
|
|
1476
1468
|
|
|
1477
1469
|
var exportFormats$1 = ['xlsx', 'pdf'];
|