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.modern.js
CHANGED
|
@@ -1264,15 +1264,7 @@ function grid(props, dataGridRef) {
|
|
|
1264
1264
|
locale(sessionStorage.getItem("locale"));
|
|
1265
1265
|
loadMessages(JSON.parse(sessionStorage.getItem("localTranslation")));
|
|
1266
1266
|
}, []);
|
|
1267
|
-
return React.createElement(React.Fragment, null, React.createElement(
|
|
1268
|
-
className: "odsDatagrid",
|
|
1269
|
-
style: {
|
|
1270
|
-
width: "100%",
|
|
1271
|
-
overflowX: 'hidden',
|
|
1272
|
-
overflowY: "hidden",
|
|
1273
|
-
marginTop: "10px"
|
|
1274
|
-
}
|
|
1275
|
-
}, React.createElement(DataGrid, {
|
|
1267
|
+
return React.createElement(React.Fragment, null, React.createElement(DataGrid, {
|
|
1276
1268
|
dataSource: props.dataSource,
|
|
1277
1269
|
keyExpr: props.keyExpr,
|
|
1278
1270
|
allowColumnResizing: true,
|
|
@@ -1284,9 +1276,9 @@ function grid(props, dataGridRef) {
|
|
|
1284
1276
|
allowColumnReordering: true,
|
|
1285
1277
|
showRowLines: true,
|
|
1286
1278
|
showBorders: true,
|
|
1287
|
-
columnAutoWidth: false,
|
|
1279
|
+
columnAutoWidth: props.columnAutoWidth == undefined ? false : props.columnAutoWidth,
|
|
1288
1280
|
focusedRowEnabled: false,
|
|
1289
|
-
wordWrapEnabled: false,
|
|
1281
|
+
wordWrapEnabled: props.wordWrapEnabled == undefined ? false : props.wordWrapEnabled,
|
|
1290
1282
|
noDataText: props.noDataLanguage == undefined ? "No Data" : props.noDataLanguage,
|
|
1291
1283
|
onEditCanceling: props.onEditCanceling,
|
|
1292
1284
|
onExporting: onExporting,
|
|
@@ -1467,7 +1459,7 @@ function grid(props, dataGridRef) {
|
|
|
1467
1459
|
type: "custom",
|
|
1468
1460
|
customLoad: customLoad,
|
|
1469
1461
|
customSave: customSave
|
|
1470
|
-
})))
|
|
1462
|
+
})));
|
|
1471
1463
|
}
|
|
1472
1464
|
|
|
1473
1465
|
var exportFormats$1 = ['xlsx', 'pdf'];
|