@fluxhub/fluxhub-lib 10.0.102 → 10.0.104

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.
@@ -4995,6 +4995,7 @@
4995
4995
  this.show_num_elem = true;
4996
4996
  this.system_dest = 1;
4997
4997
  this.header_h = 35;
4998
+ this.selection_mode = 'multiple';
4998
4999
  this.init_fill = true;
4999
5000
  this.no_pref = false;
5000
5001
  this.pref_hidden = true;
@@ -5223,7 +5224,7 @@
5223
5224
  floatingFilter: true,
5224
5225
  enableRangeSelection: true,
5225
5226
  defaultColDef: { resizable: true, sortable: true },
5226
- rowSelection: "multiple",
5227
+ rowSelection: this.selection_mode,
5227
5228
  rowDeselection: false,
5228
5229
  // getContextMenuItems: () => this.getContextMenuItems(),
5229
5230
  allowContextMenuWithControlKey: true,
@@ -6518,6 +6519,7 @@
6518
6519
  show_num_elem: [{ type: i0.Input }],
6519
6520
  system_dest: [{ type: i0.Input }],
6520
6521
  header_h: [{ type: i0.Input }],
6522
+ selection_mode: [{ type: i0.Input }],
6521
6523
  init_fill: [{ type: i0.Input }],
6522
6524
  no_pref: [{ type: i0.Input }],
6523
6525
  pref_hidden: [{ type: i0.Input }],
@@ -8300,7 +8302,7 @@
8300
8302
  });
8301
8303
  };
8302
8304
  FHListComponent.prototype.setByDescri = function (desc_val) {
8303
- //console.log("setByDescri "+desc_val);
8305
+ console.log("setByDescri " + desc_val);
8304
8306
  this.valDef = desc_val;
8305
8307
  if (desc_val == null)
8306
8308
  return;
@@ -8311,8 +8313,10 @@
8311
8313
  if (this.myData.length == 0 || this.myData[0] == null)
8312
8314
  return;
8313
8315
  var arr_val = desc_val.split(this.separator);
8316
+ console.log('arr_val ', arr_val);
8314
8317
  for (var j = 0; j < this.myData.length; j++)
8315
8318
  for (var j1 = 0; j1 < arr_val.length; j1++) {
8319
+ console.log('v1 - v2', this.myData[j].descrizione_valore, arr_val[j1]);
8316
8320
  if (this.myData[j].descrizione_valore == arr_val[j1]) {
8317
8321
  this.myData[j].checked = true;
8318
8322
  }