-
-
Notifications
You must be signed in to change notification settings - Fork 516
-
Hi not sure if this is a bug or if there's a setting I'm missing, but the spacer column doesn't seem to respect the styling I add to muiTableBodyCellProps. As you can see in the attached, I've disabled the cell borders and changed the colors of the cells, but the spacer column retains the old color and borders, and it looks very ugly. I'd like to have the same style from the table in the spacer column, is this possible?
Minimal code sandbox here
const table = useMaterialReactTable({ columns, data, enableColumnOrdering: true, enableColumnResizing: true, muiTableBodyCellProps: { sx: { backgroundColor: '#0000FF7F', borderBottom: 'none', }, }, muiTableHeadCellProps: { sx: { backgroundColor: '#0000FF7F', borderBottom: '1px solid #FFFFFF1A', }, }, });
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment