How to set table header width using column props? #4290
Unanswered
jeevasusej
asked this question in
Q&A
Replies: 1 comment
-
I don't believe you can do this with columnDefs <Tr key={headerGroup.id}>
{headerGroup.headers.map((header) => {
return (
<Th
key={header.id}
colSpan={header.colSpan}
color={"gray.700"}
// pick what column you want
width={header.id === "points" ? "15px" : "unset"}
> Keep in mind that the other columns will probably try to fill available space |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am using Table v8.
I want to set width in percentage for each column. But I couldn't do that and I cannot find it in the document.
How to set the each column width?
Beta Was this translation helpful? Give feedback.
All reactions