ods-component-lib 1.17.35 → 1.17.36

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
  };