Achievement goal
- Draw a large amount of data on the table
- Sticky header (scroll only the body)
- Sortable by clicking the cell in the header
- The data in that row can be updated by pressing the button
Example code (Minimal Reproducible)
https://codesandbox.io/s/nice-mclaren-b1vnhm
Using plugin
react-window : FixedSizeList
react-table : useSortBy
Question
Each one has been realized, but there is a bug.
Steps to reproduce
- Sort (some header)
- Press the button
Why reset the sort direction, when update data?