ods-component-lib 1.17.35 → 1.17.37

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
@@ -1225,6 +1225,7 @@ function grid(props, dataGridRef) {
1225
1225
  });
1226
1226
  });
1227
1227
  } else {
1228
+ debugger;
1228
1229
  var doc = new jsPDF();
1229
1230
  pdf_exporter.exportDataGrid({
1230
1231
  jsPDFDocument: doc,
@@ -1232,6 +1233,9 @@ function grid(props, dataGridRef) {
1232
1233
  indent: 5
1233
1234
  }).then(function () {
1234
1235
  doc.save(fileName + '.pdf');
1236
+ }).then(function () {
1237
+ e.component.columnOption('hiddenColumn', 'visible', false);
1238
+ e.component.endUpdate();
1235
1239
  });
1236
1240
  }
1237
1241
  };
@@ -1422,16 +1426,8 @@ function grid(props, dataGridRef) {
1422
1426
  }), React__default.createElement(dataGrid.Item, {
1423
1427
  menuItemRender: renderMenuItem
1424
1428
  })), React__default.createElement(dataGrid.Summary, null, React__default.createElement(dataGrid.TotalItem, {
1425
- column: "Id",
1426
- summaryType: "count",
1427
- displayFormat: "{0} Total Data"
1428
- }), props.sumaryRowItems && props.sumaryRowItems.map(function (item) {
1429
- return React__default.createElement(dataGrid.TotalItem, {
1430
- column: item.columnName,
1431
- summaryType: item.aggregateFn,
1432
- valueFormat: item.valueFormat ? item.valueFormat : "",
1433
- displayFormat: "Total: {0}"
1434
- });
1429
+ column: props.keyExpr,
1430
+ summaryType: "count"
1435
1431
  })), React__default.createElement(dataGrid.StateStoring, {
1436
1432
  enabled: true,
1437
1433
  type: "localStorage",