Skip to content

Commit

Permalink
Fix summary row colSpan (#2372)
Browse files Browse the repository at this point in the history
  • Loading branch information
amanmahajan7 authored Apr 22, 2021
1 parent d6c23fc commit 5099384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SummaryRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function SummaryRow<R, SR>({
const cells = [];
for (let index = 0; index < viewportColumns.length; index++) {
const column = viewportColumns[index];
const colSpan = getColSpan(column, lastFrozenColumnIndex, { type: 'HEADER' });
const colSpan = getColSpan(column, lastFrozenColumnIndex, { type: 'SUMMARY', row });
if (colSpan !== undefined) {
index += colSpan - 1;
}
Expand Down

0 comments on commit 5099384

Please sign in to comment.