[data grid] Missing MuiDataGrid-cell--withRightBorder
class on last cell in row
#15950
Labels
bug 🐛
Something doesn't work
component: data grid
This is the name of the generic UI component, not the React module!
customization: css
Design CSS customizability
status: waiting for author
Issue with insufficient information
Steps to reproduce
Code example
Current behavior
In the MUI DataGrid, the cells in the last column do not have the MuiDataGrid-cell--withRightBorder class applied. This results in the absence of a right-side border for those cells, despite showCellVerticalBorder being enabled.
Expected behavior
This issue is causing inconsistent styling in the DataGrid, particularly when vertical borders are expected to be displayed on all cells for a clean and structured layout. It negatively impacts the visual appearance of the grid, especially in applications that rely on strict UI alignment.
The issue persists regardless of whether columns are dynamically or statically defined. A prompt resolution or workaround would be greatly appreciated to maintain consistent UI behavior.
Context
This issue is causing inconsistent styling in the DataGrid, particularly when vertical borders are expected to be displayed on all cells for a clean and structured layout. It negatively impacts the visual appearance of the grid, especially in applications that rely on strict UI alignment.
The issue persists regardless of whether columns are dynamically or statically defined. A prompt resolution or workaround would be greatly appreciated to maintain consistent UI behavior.
Your environment
`npx @mui/envinfo`
Search keywords: withRightBorder, Last Column's Cells
The text was updated successfully, but these errors were encountered: