@fluxhub/fluxhub-lib 10.0.366 → 10.0.368

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,26 +6005,10 @@
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
- var _this = this;
6016
6009
  this.header_h = n;
6017
6010
  this.gridOptions.api.setHeaderHeight(this.header_h);
6018
- if (!this.enable_copy) {
6019
- 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);
6026
- };
6027
- }
6011
+ this.gridOptions.suppressCopyRowsToClipboard = !this.enable_copy;
6028
6012
  };
6029
6013
  FHGridComponent.prototype.getRowNodeId = function (item) {
6030
6014
  // console.log(item);