Consider Adding an onEndColumnResize prop to <BaseTable />
See original GitHub issueWe’re starting to use react-base-table on Shotgun. One of the things we’re working on is saving column sizes after resizing them. We have this functionality in our current grid, but need to port this functionality to our new grid that is using <BaseTable />
. The BaseTable
component has an onColumnResize
prop, but in our case, we really only want to save settings once the column is finished resizing. I have a PR that adds an onEndColumnResize
prop to <BaseTable />
for columns that are resizable.
Is this something you would consider adding to <BaseTable />
?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
API: BaseTable
BaseTable. React table component. Props. classPrefixstringdefaults to'BaseTable'.
Read more >The react-base-table from Autodesk - Giter Site
Consider Adding an onEndColumnResize prop to <BaseTable />. We're starting to use react-base-table on Shotgun. One of the things we're working on is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
included in v1.9.0
I agree with your requirement on the resize end callback, problem is that we may have to add the resize start callback accordingly in the future, and I think
onColumnResize
is similar toonScroll
, we don’t haveonScrollStart
andonScrollEnd
either, as we can detect them viaonScroll
, but on the other hand, addingonColumnResizeEnd
would make it more straight forward