@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
|
@@ -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
|
-
a.copySelectedRangeToClipboard(false);
|
|
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
|
-
|
|
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
|
};
|