@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.
@@ -8614,25 +8614,10 @@ class FHGridComponent {
8614
8614
 
8615
8615
  this.gridOptions.api.exportDataAsExcel(params);*/
8616
8616
  }
8617
- sendToClipboard(params, a, lc) {
8618
- // console.log('send to clipboard called with data:');
8619
- // console.log(params.data);
8620
- console.log(params, a, lc);
8621
- this.gridApi.copySelectedRangeToClipboard();
8622
- }
8623
8617
  setHeaderHeight(n) {
8624
8618
  this.header_h = n;
8625
8619
  this.gridOptions.api.setHeaderHeight(this.header_h);
8626
- if (!this.enable_copy) {
8627
- this.gridOptions.sendToClipboard = (v) => {
8628
- console.log('v ', v);
8629
- this.clipboard.copy(v.data.split('\n')[0]);
8630
- if (this.last_copy == v.data)
8631
- return;
8632
- this.last_copy = v.data;
8633
- this.sendToClipboard(v, this.gridOptions.api, this.last_copy);
8634
- };
8635
- }
8620
+ this.gridOptions.suppressCopyRowsToClipboard = !this.enable_copy;
8636
8621
  }
8637
8622
  getRowNodeId(item) {
8638
8623
  // console.log(item);