@hpcc-js/dgrid 2.32.21 → 2.32.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hpcc-js/dgrid",
3
- "version": "2.32.21",
3
+ "version": "2.32.22",
4
4
  "description": "hpcc-js - Viz DGrid",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es6",
@@ -61,5 +61,5 @@
61
61
  "url": "https://github.com/hpcc-systems/Visualization/issues"
62
62
  },
63
63
  "homepage": "https://github.com/hpcc-systems/Visualization",
64
- "gitHead": "af1635cb20805f16790f241a2cf2baeb2ba1ad77"
64
+ "gitHead": "3f1fde38b06c31eb2a91b153244053652305b4bc"
65
65
  }
package/src/Table.ts CHANGED
@@ -58,7 +58,7 @@ export class ColumnFormat extends PropertyExt {
58
58
  d3Select(cellElement)
59
59
  .style("background", background)
60
60
  .style("color", Palette.textColor(background))
61
- .text(cellText.html ? cellText.html : cell)
61
+ .text(cellText?.html ?? cellText ?? cell)
62
62
  ;
63
63
  };
64
64
  }
@@ -184,7 +184,7 @@ export class Table extends Common {
184
184
  }
185
185
  }
186
186
  }
187
- this._dgrid.set("columns", this._columns);
187
+ this._dgrid.set("columns", this._columns.filter(col => !col.hidden));
188
188
  this._colsRefresh = false;
189
189
  }
190
190
  if (this._colsRefresh || this._dataRefresh) {
@@ -1,3 +1,3 @@
1
1
  export const PKG_NAME = "@hpcc-js/dgrid";
2
- export const PKG_VERSION = "2.32.21";
3
- export const BUILD_VERSION = "2.105.12";
2
+ export const PKG_VERSION = "2.32.22";
3
+ export const BUILD_VERSION = "2.105.13";
@@ -1,4 +1,4 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/dgrid";
2
- export declare const PKG_VERSION = "2.32.21";
3
- export declare const BUILD_VERSION = "2.105.12";
2
+ export declare const PKG_VERSION = "2.32.22";
3
+ export declare const BUILD_VERSION = "2.105.13";
4
4
  //# sourceMappingURL=__package__.d.ts.map
@@ -1,4 +1,4 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/dgrid";
2
- export declare const PKG_VERSION = "2.32.21";
3
- export declare const BUILD_VERSION = "2.105.12";
2
+ export declare const PKG_VERSION = "2.32.22";
3
+ export declare const BUILD_VERSION = "2.105.13";
4
4
  //# sourceMappingURL=__package__.d.ts.map