Skip to content

Commit

Permalink
[DataGrid] Fix right column group header border (#15105)
Browse files Browse the repository at this point in the history
  • Loading branch information
KenanYusuf authored Oct 28, 2024
1 parent 0fc9a15 commit bc0674a
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 bc0674a

Please sign in to comment.