@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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +1 -17
- 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 -17
- package/fesm2015/fluxhub-fluxhub-lib.js +1 -16
- 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,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
|
-
|
|
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);
|