optionally remove column width
Thanks for the great plugin! I see that default value for min-width 100 but in my case I don't want to set the width of the column and just let the browser calculate the width to show the values. I try to set the 'minWidth' or 'width' to null or undefined but didn't work.
You may want to check out a proposed solution in issue #94
It is handled via looping over the data and setting some state
Thanks for fast reply! I'll try that out
On Mon, Mar 6, 2017 at 12:47 PM, scottclayton [email protected] wrote:
You may want to check out a proposed solution in issue #94 https://github.com/tannerlinsley/react-table/issues/94
It is handled via looping over the data and setting some state
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tannerlinsley/react-table/issues/113#issuecomment-284474482, or mute the thread https://github.com/notifications/unsubscribe-auth/ACKdhoLcX7lLomQ_pnSPAAWGeSHCoFvaks5rjEaggaJpZM4MUYg7 .
I second @scottclayton's suggestion. For now, there is no built-in way of auto-sizing columns, but his solution works fairly well for now.