GuillaumeJasmin/react-table-hoc-fixed-columns

Are there props for min/max width?

Opened this issue · 3 comments

Testing the demo, and stepping through the code, it doesn't look like there is any way to constrain the width. Is that right, or did I miss something?

Specifically, I'm looking to set the max-width on the columns but I'm not seeing any way to do that.

Hi,
It’s seems the same issue that #27 .

Min width and max width are currently hard to use because fixed columns use the internal column width to determinate the offset of left or right fixed columns.

I will investigate and find a better way to calculate offset.

Until that will be fix, you should use width instead of min width or max width

I use width in the React Table and Wrappe with withFixedColumnsStickyPosition work's fine, you can work the max width un React Table