@fluxhub/fluxhub-lib 10.0.365 → 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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +1 -12
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhgrid.js +2 -13
- package/fesm2015/fluxhub-fluxhub-lib.js +1 -12
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhgrid.d.ts +0 -1
- package/package.json +1 -1
|
@@ -8614,23 +8614,12 @@ 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
|
-
a.copySelectedRangeToClipboard(false);
|
|
8622
|
-
}
|
|
8623
8617
|
setHeaderHeight(n) {
|
|
8624
8618
|
this.header_h = n;
|
|
8625
8619
|
this.gridOptions.api.setHeaderHeight(this.header_h);
|
|
8626
8620
|
if (!this.enable_copy) {
|
|
8627
8621
|
this.gridOptions.sendToClipboard = (v) => {
|
|
8628
|
-
|
|
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);
|
|
8622
|
+
this.gridApi.copySelectedRangeToClipboard();
|
|
8634
8623
|
};
|
|
8635
8624
|
}
|
|
8636
8625
|
}
|