gd-bs 6.9.20 → 6.9.21
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 +6 -1
- 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 +5 -1
- package/src/components/table/types.d.ts +1 -1
package/package.json
CHANGED
|
@@ -230,9 +230,13 @@ class _Table extends Base<ITableProps> implements ITable {
|
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
// Method to update a row element
|
|
233
|
-
updateRow(elRow: HTMLElement, row: any) {
|
|
233
|
+
updateRow(elRow: HTMLElement, row: any, hiddenColIndexes?: number[]) {
|
|
234
234
|
// Parse the columns
|
|
235
235
|
for (let i = 0; i < this.props.columns.length; i++) {
|
|
236
|
+
// See if this column is hidden
|
|
237
|
+
if (hiddenColIndexes && hiddenColIndexes.indexOf(i) >= 0) { continue; }
|
|
238
|
+
|
|
239
|
+
// Get the column element
|
|
236
240
|
let elCol = elRow.children[i] as HTMLElement;
|
|
237
241
|
if (elCol) {
|
|
238
242
|
// Update the column
|