Skip to content

Commit

Permalink
[DataGrid] Fix right column group header border
Browse files Browse the repository at this point in the history
  • Loading branch information
KenanYusuf committed Oct 24, 2024
1 parent ab4823d commit 47ad2d3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ export const useGridColumnHeaders = (props: UseGridColumnHeadersProps) => {
return null;
}

const { renderedColumns, firstColumnToRender, lastColumnToRender } = columnsToRender;
const { firstColumnToRender, lastColumnToRender } = columnsToRender;

const rowStructure = columnGroupsHeaderStructure[depth];

Expand Down Expand Up @@ -464,7 +464,7 @@ export const useGridColumnHeaders = (props: UseGridColumnHeadersProps) => {
pinnedPosition={pinnedPosition}
style={style}
indexInSection={indexInSection}
sectionLength={renderedColumns.length}
sectionLength={rowStructure.length}
gridHasFiller={gridHasFiller}
/>
);
Expand Down

0 comments on commit 47ad2d3

Please sign in to comment.