@fluxhub/fluxhub-lib 10.0.144 → 10.0.145

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.
@@ -8361,14 +8361,16 @@ class FHGridComponent {
8361
8361
  include_null_value = true;
8362
8362
  }
8363
8363
  let num_all = -1;
8364
- let countryFilterComponent = this.gridOptions.api.getFilterInstance(key);
8364
+ let countryFilterComponent = this.gridOptions.api.getColumnDef(key);
8365
8365
  console.log('countryFilterComponent ', countryFilterComponent);
8366
- if (countryFilterComponent != null) {
8367
- let model = countryFilterComponent.getModel();
8368
- console.log('model ', model);
8369
- if (model != null)
8370
- num_all = model.values.length;
8371
- }
8366
+ if (countryFilterComponent != null)
8367
+ if (countryFilterComponent.filterParams != null)
8368
+ if (countryFilterComponent.filterParams.values != null) {
8369
+ let model = countryFilterComponent.filterParams.values;
8370
+ console.log('model ', model);
8371
+ if (model != null)
8372
+ num_all = model.values.length;
8373
+ }
8372
8374
  console.log('obj_filtro.values.length!=num_all ', obj_filtro.values.length, num_all);
8373
8375
  if (sq != "") {
8374
8376
  if (obj_filtro.values.length != num_all) {