gd-bs 6.9.20 → 6.9.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/build/components/table/index.js +9 -3
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.d.ts +1 -1
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.min.js +1 -1
- package/package.json +1 -1
- package/src/components/table/index.ts +8 -3
- package/src/components/table/types.d.ts +1 -1
|
@@ -192,13 +192,19 @@ class _Table extends Base {
|
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
// Method to update a row element
|
|
195
|
-
updateRow(elRow, row) {
|
|
195
|
+
updateRow(elRow, row, hiddenColIndexes) {
|
|
196
196
|
// Parse the columns
|
|
197
|
+
let colIdx = 0;
|
|
197
198
|
for (let i = 0; i < this.props.columns.length; i++) {
|
|
198
|
-
|
|
199
|
+
// See if this column is hidden
|
|
200
|
+
if (hiddenColIndexes && hiddenColIndexes.indexOf(i) >= 0) {
|
|
201
|
+
continue;
|
|
202
|
+
}
|
|
203
|
+
// Get the column element
|
|
204
|
+
let elCol = elRow.children[colIdx++];
|
|
199
205
|
if (elCol) {
|
|
200
206
|
// Update the column
|
|
201
|
-
this.updateColumn(elCol,
|
|
207
|
+
this.updateColumn(elCol, colIdx, row);
|
|
202
208
|
}
|
|
203
209
|
}
|
|
204
210
|
// See if there is an event
|