We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ab3f19 commit fa74cdfCopy full SHA for fa74cdf
1 file changed
packages/iris-grid/src/IrisGridRenderer.ts
@@ -187,11 +187,7 @@ class IrisGridRenderer extends GridRenderer {
187
return;
188
}
189
190
- // There seem to be duplicate columns with the same name, so determine the
191
- // count of distinct names.
192
- const numUniqueNames = new Set(groupedColumns.map(({ name }) => name)).size;
193
-
194
- const lastVisibleGroupColumnIndex = numUniqueNames - 1;
+ const lastVisibleGroupColumnIndex = groupedColumns.length - 1;
195
196
const columnX = allColumnXs.get(lastVisibleGroupColumnIndex);
197
const columnWidth = allColumnWidths.get(lastVisibleGroupColumnIndex);
0 commit comments