Column widths based on rem #5460
-
Hi! :) I am currently working on building a Table component on top of react-table and have been running into an issue with the column sizing.
So I was assuming that there shouldn't be a problem to base everything in the table off I have checked out the column sizing state documentation and have been playing around with the See this reproduction for what I am trying to achieve. Now my questions are:
If this is not possible and will never be, I think it would be nice to have a comment on that in the documentation as well, something like PS: I love this library and am having a blast using it, keep up that great work! 🔥 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey @PrettyCoffee, just stumbled on this discussion. Did you find some workaround, I'm at exactly the same place 😄 |
Beta Was this translation helpful? Give feedback.
@PrettyCoffee Here is the simple function you can use: