ods-component-lib 1.17.2 → 1.17.3

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 CHANGED
@@ -1224,6 +1224,7 @@ function grid(props) {
1224
1224
  };
1225
1225
  var fileName = props.exportFileName ? props.exportFileName + moment().format("YYYYMMDD") : "DatagridExportFile" + moment().format("YYYYMMDD");
1226
1226
  var onExporting = function onExporting(e) {
1227
+ debugger;
1227
1228
  if (e.format === 'xlsx') {
1228
1229
  var workbook = new exceljs.Workbook();
1229
1230
  excel_exporter.exportDataGrid({
@@ -1269,7 +1270,10 @@ function grid(props) {
1269
1270
  columnAutoWidth: false,
1270
1271
  onEditCanceling: props.onEditCanceling,
1271
1272
  onExporting: onExporting,
1272
- height: (_ref = props.height !== undefined) != null ? _ref : props.height
1273
+ height: (_ref = props.height !== undefined) != null ? _ref : props.height,
1274
+ style: {
1275
+ maxWidth: "100%"
1276
+ }
1273
1277
  }, React__default.createElement(dataGrid.Paging, {
1274
1278
  enabled: true,
1275
1279
  defaultPageSize: props.pageSize