Skip to content

Commit 3aa2781

Browse files
authored
Merge pull request #292 from esuau/fix/table-expandable
fix(table): Fix expandable row width issue
2 parents 519afc1 + bf40340 commit 3aa2781

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/table/table.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ import { I18n } from "./../i18n/i18n.module";
334334
*ngIf="model.rowsExpanded[i]"
335335
class="bx--expandable-row-v2"
336336
[attr.data-child-row]="(model.rowsExpanded[i] ? 'true' : null)">
337-
<td [attr.colspan]="model.data.length + 2">
337+
<td [attr.colspan]="row.length + 2">
338338
<ng-container *ngIf="!firstExpandedTemplateInRow(row)">{{firstExpandedDataInRow(row)}}</ng-container>
339339
<ng-template
340340
[ngTemplateOutlet]="firstExpandedTemplateInRow(row)"

0 commit comments

Comments
 (0)