Row selection and expand column width #205
-
|
Hey, how can I customize the width of the selection and expand columns beside the default column size props? Couldn't find any related props. edit: best approach I tried was to set the selection and expand columns' width through the defaultColumn prop, and set a "default" size on all of the data columns. |
Beta Was this translation helpful? Give feedback.
Answered by
KevinVandy
Nov 17, 2022
Replies: 1 comment
-
|
There is a way to customize specific display columns with the Docs here: https://www.material-react-table.com/docs/guides/display-columns Pretty much want something like this <MaterialReactTable
//...
displayColumnDefOptions={{
'mrt-row-select': {
size: 60,
//...
}
}}
/> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
viktorelo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a way to customize specific display columns with the
displayColumnDefOptionsprop.Docs here: https://www.material-react-table.com/docs/guides/display-columns
Pretty much want something like this