React-table: [v7] Reorder columns by dragging example

Created on 7 Oct 2019  路  2Comments  路  Source: tannerlinsley/react-table

To re-order columns by dragging i have created an example by using react-beautiful-dnd

Link - https://codesandbox.io/s/gargroh-v7-drag-column-beautiful-react-dnd-encww

@tannerlinsley wanted to check, whether this is good to go example for everyone who uses v7 and want this feature OR using any other DnD/sortable library would be more compatible with react-table in terms complexity(of implementation)/ customization/better UX or anything else better....which you have thought while writing v7.

Most helpful comment

This is a perfectly fine example! Please make a PR to add it to the examples directory and examples.md.

All 2 comments

This is a perfectly fine example! Please make a PR to add it to the examples directory and examples.md.

@tannerlinsley hello, is it necessary to use 'useAbsoluteLayout'? I'm trying to implement it and it is breaking my styles

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ocalde picture ocalde  路  3Comments

mlajszczak picture mlajszczak  路  3Comments

krishna-shenll picture krishna-shenll  路  3Comments

pasichnyk picture pasichnyk  路  3Comments

esetnik picture esetnik  路  3Comments