GuillaumeJasmin / react-table-sticky

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

Add 'setSticky()' function to Column Properties. #25

Open dnquang1996vn opened 3 years ago

dnquang1996vn commented 3 years ago

Thank you for creating this awesome lib. It helps me a lot. it would be nice to give users the ability to set sticky manually for columns. It is like setting visible, hidden column function in react-table. A column should have stickyand setStickyproperty, similar to isVisibleand toggleHidden of useTable() https://react-table.tanstack.com/docs/api/useTable#column-properties