We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm setting a cell's border by calling setCellProps in the column's options. This is the code:
setCellProps
setCellProps: (value) => { return { className: classnames ({ [classes.BorderCell]: value !== undefined, }) }}
BorderCell is simple CSS:
BorderCell
BorderCell: { borderRight: '1px solid gray', },
In V2 it looked like this:
Now it V3 there's a border both for the cell and for the text in it:
What's the new way of doing it?
The text was updated successfully, but these errors were encountered:
Looks like this is a bug, the props get spread on the inner cell as well as the table cell: https://github.com/gregnb/mui-datatables/blob/master/src/components/TableBodyCell.js#L136
I'll get a fix into the 3.2.0 release, which should either happen tonight or tomorrow (more info here: #1404)
Sorry, something went wrong.
Try with the new 3.2.0 version, this issue should be resolved there.
No branches or pull requests
I'm setting a cell's border by calling
setCellProps
in the column's options. This is the code:BorderCell
is simple CSS:In V2 it looked like this:
Now it V3 there's a border both for the cell and for the text in it:
What's the new way of doing it?
The text was updated successfully, but these errors were encountered: