@fluxhub/fluxhub-lib 10.0.11 → 10.0.12

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.
@@ -5657,10 +5657,6 @@
5657
5657
  };
5658
5658
  FHGridComponent.prototype.onBtExport = function () {
5659
5659
  this.export_excel();
5660
- if (this.custom_export) {
5661
- this.command.emit({ cmd: "export_excel" });
5662
- return;
5663
- }
5664
5660
  /*
5665
5661
  var params = {
5666
5662
  skipHeader: false,
@@ -5847,6 +5843,10 @@
5847
5843
  FHGridComponent.prototype.export_excel = function (format) {
5848
5844
  var _this = this;
5849
5845
  if (format === void 0) { format = "xlsx"; }
5846
+ if (this.custom_export) {
5847
+ this.command.emit({ cmd: "export_excel", v: format });
5848
+ return;
5849
+ }
5850
5850
  if (this.num_r > 15000) {
5851
5851
  this._toast.error("Massimo 15000 elementi esportabili");
5852
5852
  return;