@fluxhub/fluxhub-lib 10.0.366 → 10.0.367

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.
@@ -6005,24 +6005,13 @@
6005
6005
 
6006
6006
  this.gridOptions.api.exportDataAsExcel(params);*/
6007
6007
  };
6008
- FHGridComponent.prototype.sendToClipboard = function (params, a, lc) {
6009
- // console.log('send to clipboard called with data:');
6010
- // console.log(params.data);
6011
- console.log(params, a, lc);
6012
- this.gridApi.copySelectedRangeToClipboard();
6013
- };
6014
6008
  FHGridComponent.prototype.setHeaderHeight = function (n) {
6015
6009
  var _this = this;
6016
6010
  this.header_h = n;
6017
6011
  this.gridOptions.api.setHeaderHeight(this.header_h);
6018
6012
  if (!this.enable_copy) {
6019
6013
  this.gridOptions.sendToClipboard = function (v) {
6020
- console.log('v ', v);
6021
- _this.clipboard.copy(v.data.split('\n')[0]);
6022
- if (_this.last_copy == v.data)
6023
- return;
6024
- _this.last_copy = v.data;
6025
- _this.sendToClipboard(v, _this.gridOptions.api, _this.last_copy);
6014
+ _this.gridApi.copySelectedRangeToClipboard();
6026
6015
  };
6027
6016
  }
6028
6017
  };