@refinitiv-ui/efx-grid 6.0.88 → 6.0.89

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.
@@ -365,8 +365,6 @@ declare class Core extends ElementWrapper {
365
365
 
366
366
  public requestRowRefresh(): void;
367
367
 
368
- public _requestScrollbarUpdate(): void;
369
-
370
368
  public deactivateRendering(disabled?: boolean|null): void;
371
369
 
372
370
  public reserveRightSpace(size: number): boolean;
@@ -574,7 +574,7 @@ Core.prototype._hasPendingRowChange = false;
574
574
  * @return {string}
575
575
  */
576
576
  Core.getVersion = function () {
577
- return "5.1.92";
577
+ return "5.1.93";
578
578
  };
579
579
  /** {@link ElementWrapper#dispose}
580
580
  * @override
@@ -3864,7 +3864,7 @@ Core.prototype.requestRowRefresh = function() {
3864
3864
  }
3865
3865
  };
3866
3866
  /** Set a timer to call updateScrollbarHeight only once to avoid performance issue due to multiple call of _updateScrollbarHeight()
3867
- * @public
3867
+ * @private
3868
3868
  */
3869
3869
  Core.prototype._requestScrollbarUpdate = function() {
3870
3870
  this._updateScrollbarHeight(true, true);
package/lib/grid/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import {Grid} from "./lib/efx-grid.js";
2
2
  export {Grid}
3
- window.EFX_GRID = { version: "6.0.88" };
3
+ window.EFX_GRID = { version: "6.0.89" };
@@ -453,7 +453,7 @@ RowSegmentingPlugin.prototype.getSegmentParentRowId = function (rowRef) {
453
453
  * @param {number=} lastRowIndex INCLUSIVE
454
454
  */
455
455
  RowSegmentingPlugin.prototype._updateHeader = function (settings, firstRowIndex, lastRowIndex) {
456
- if (!this._hasSegmentation(settings)) {
456
+ if (!this._hasSegmentation(settings) || !this._rowPainter) {
457
457
  return;
458
458
  }
459
459
 
@@ -13787,7 +13787,7 @@ RowDefinition.prototype.setStaticRowData = function(data, opt_fields) {
13787
13787
  this.setRowData(data);
13788
13788
  }
13789
13789
  };
13790
- /** @public
13790
+ /** @private
13791
13791
  * @return {Object.<string, *>}
13792
13792
  */
13793
13793
  RowDefinition.prototype._getStaticRowData = function() {
@@ -14206,7 +14206,7 @@ RowDefinition.prototype.addConstituent = function(ric) {
14206
14206
  };
14207
14207
 
14208
14208
  /** Used to convert autogenerated row to regular real-time row
14209
- * @public
14209
+ * @private
14210
14210
  */
14211
14211
  RowDefinition.prototype._toRealTimeRow = function() {
14212
14212
  if(!this._ric) { // Empty row
@@ -44914,7 +44914,6 @@ let Grid = function(placeholder, config) {
44914
44914
  t._connector.addEventListener("fieldRemoved", t._onFieldRemoved.bind(t));
44915
44915
 
44916
44916
  t.initialize(config);
44917
- t.initSubscription();
44918
44917
 
44919
44918
  js_StyleLoader.applyStyle(t._grid);
44920
44919
  };
@@ -45299,7 +45298,10 @@ Grid.prototype.getCoreGrid = function () {
45299
45298
  * @param {Grid~GridOptions=} gridOption
45300
45299
  */
45301
45300
  Grid.prototype.initialize = function(gridOption) {
45302
- if (!gridOption) { return; }
45301
+ if (!gridOption) {
45302
+ this.initSubscription();
45303
+ return;
45304
+ }
45303
45305
  // TODO: clear all data before re-initialization
45304
45306
  let t = this; // For minimizing file size
45305
45307
  t._initializing = true;
@@ -45591,6 +45593,7 @@ Grid.prototype.initialize = function(gridOption) {
45591
45593
  // Tell all plugins that the initialization phase has ended
45592
45594
  let extObjects = grid.getPluginList().map(grid.getPlugin.bind(grid));
45593
45595
  t._processExtension(extObjects, "afterInit");
45596
+ t.initSubscription();
45594
45597
  };
45595
45598
 
45596
45599
  /** @public