GuillaumeJasmin / react-table-sticky

Sticky hook for react-table v7
MIT License
189 stars 21 forks source link

Reorder columns based on sticky state #39

Open shemadolev opened 3 years ago

shemadolev commented 3 years ago

Just like how useGroupBy changes grouped columns to be ordered first, please make sticky state to affect the columns' order.

Here's an example of the unwanted behavior, for instance when setting a 3rd column a sticky: "left" prop: https://codesandbox.io/s/react-table-sticky-official-forked-di4zg

ViieeS commented 3 years ago

Take a look #41, I used another approach