react-sortable-hoc icon indicating copy to clipboard operation
react-sortable-hoc copied to clipboard

能结合antd进行使用么

Open 18355166248 opened this issue 6 years ago • 4 comments

能结合antd进行使用么 antd的表格渲染是传入一个prop进行渲染

18355166248 avatar Mar 05 '20 10:03 18355166248

Do you means drag the column to reorder the display of columns of antd Table?

Haley-Zhu avatar Sep 18 '20 01:09 Haley-Zhu

您是否意味着拖动列以重新排序antd表的列显示?

有没有demo哦

hejiaqian avatar Sep 19 '20 09:09 hejiaqian

Here is a demo, with collection feature, try it! Antd have docs tell you how to setup antd table with react-sortable-hoc. It also work in antd v3.

out

Play ground

sky172839465 avatar Oct 08 '20 13:10 sky172839465

https://github.com/clauderic/react-sortable-hoc/issues/672#issuecomment-694601085

Do you means drag the column to reorder the display of columns of antd Table?

@Haley-Zhu 我最近遇到了这个需求,antd的官网上只有拖动行进行排序的例子,我看了下这个项目也只有结合 react-virtualized的例子,不清楚能不能结合antd使用,你有试过吗,如果可以能提供一个demo吗

stan900814 avatar Dec 24 '21 04:12 stan900814