ods-component-lib 1.17.99 → 1.17.102

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.
@@ -599,7 +599,8 @@ function OdsPhoneInput(props) {
599
599
  placeholder: props === null || props === void 0 ? void 0 : props.placeholder,
600
600
  inputProps: {
601
601
  required: props === null || props === void 0 ? void 0 : props.required
602
- }
602
+ },
603
+ disabled: props.disabled ? props.disabled : false
603
604
  }));
604
605
  }
605
606
 
@@ -1264,7 +1265,15 @@ function grid(props, dataGridRef) {
1264
1265
  locale(sessionStorage.getItem("locale"));
1265
1266
  loadMessages(JSON.parse(sessionStorage.getItem("localTranslation")));
1266
1267
  }, []);
1267
- return React.createElement(React.Fragment, null, React.createElement(DataGrid, {
1268
+ return React.createElement(React.Fragment, null, React.createElement("div", {
1269
+ className: "odsDatagrid",
1270
+ style: {
1271
+ width: "100%",
1272
+ overflowX: 'hidden',
1273
+ overflowY: "hidden",
1274
+ marginTop: "10px"
1275
+ }
1276
+ }, React.createElement(DataGrid, {
1268
1277
  dataSource: props.dataSource,
1269
1278
  keyExpr: props.keyExpr,
1270
1279
  allowColumnResizing: true,
@@ -1459,7 +1468,7 @@ function grid(props, dataGridRef) {
1459
1468
  type: "custom",
1460
1469
  customLoad: customLoad,
1461
1470
  customSave: customSave
1462
- })));
1471
+ }))));
1463
1472
  }
1464
1473
 
1465
1474
  var exportFormats$1 = ['xlsx', 'pdf'];