@skyux/ag-grid 4.12.3 → 4.12.4

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.
@@ -680,7 +680,7 @@ function getValidatorCellRendererSelector(component, fallback) {
680
680
  return fallback;
681
681
  };
682
682
  }
683
- var rowNodeId = 1;
683
+ var rowNodeId = -1;
684
684
  /**
685
685
  * A service that provides default styling and behavior for agGrids in SKY UX SPAs.
686
686
  */
@@ -833,10 +833,10 @@ var SkyAgGridService = /** @class */ (function () {
833
833
  'sky-ag-grid-cell-renderer-validator-tooltip': SkyAgGridCellRendererValidatorTooltipComponent
834
834
  },
835
835
  getRowNodeId: function (data) {
836
- if ('id' in data && data.id) {
836
+ if ('id' in data && data.id !== undefined) {
837
837
  return "" + data.id;
838
838
  }
839
- return "" + rowNodeId++;
839
+ return "" + rowNodeId--;
840
840
  },
841
841
  getRowClass: function (params) {
842
842
  if (params.node.id) {