@fluxhub/fluxhub-lib 10.0.115 → 10.0.116

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.
@@ -5805,16 +5805,17 @@
5805
5805
 
5806
5806
  this.gridOptions.api.exportDataAsExcel(params);*/
5807
5807
  };
5808
- FHGridComponent.prototype.sendToClipboard = function (params) {
5808
+ FHGridComponent.prototype.sendToClipboard = function (params, a) {
5809
5809
  console.log('send to clipboard called with data:');
5810
5810
  console.log(params.data);
5811
- this.gridOptions.api.copySelectedRowsToClipboard(true);
5811
+ a.copySelectedRowsToClipboard(true);
5812
5812
  };
5813
5813
  FHGridComponent.prototype.setHeaderHeight = function (n) {
5814
+ var _this = this;
5814
5815
  this.header_h = n;
5815
5816
  this.gridOptions.api.setHeaderHeight(this.header_h);
5816
5817
  if (!this.enable_paste) {
5817
- this.gridOptions.sendToClipboard = this.sendToClipboard;
5818
+ this.gridOptions.sendToClipboard = function (v) { _this.sendToClipboard(v, _this.gridOptions.api); };
5818
5819
  }
5819
5820
  };
5820
5821
  FHGridComponent.prototype.getRowNodeId = function (item) {