gd-bs 6.9.21 → 6.9.23

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": "gd-bs",
3
- "version": "6.9.21",
3
+ "version": "6.9.23",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -232,16 +232,20 @@ class _Table extends Base<ITableProps> implements ITable {
232
232
  // Method to update a row element
233
233
  updateRow(elRow: HTMLElement, row: any, hiddenColIndexes?: number[]) {
234
234
  // Parse the columns
235
+ let colIdx = 0;
235
236
  for (let i = 0; i < this.props.columns.length; i++) {
236
237
  // See if this column is hidden
237
238
  if (hiddenColIndexes && hiddenColIndexes.indexOf(i) >= 0) { continue; }
238
239
 
239
240
  // Get the column element
240
- let elCol = elRow.children[i] as HTMLElement;
241
+ let elCol = elRow.children[colIdx] as HTMLElement;
241
242
  if (elCol) {
242
243
  // Update the column
243
- this.updateColumn(elCol, i, row);
244
+ this.updateColumn(elCol, colIdx, row);
244
245
  }
246
+
247
+ // Increment the column index
248
+ colIdx++;
245
249
  }
246
250
 
247
251
  // See if there is an event