-
-
Notifications
You must be signed in to change notification settings - Fork 48.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table 能否提供拖拽事件或者开放自定义事件 #4639
Comments
楼上说的对,现在网上资料太少希望大神提供一个简单的demo让我们学习一下。 |
https://motion.ant.design/exhibition/demo/table-enter-leave 中有个参数可以利用 |
对行进行二次封装,可以先参考这个例子:http://react-component.github.io/table/examples/animation.html 拖拽的例子,antd 不会原生支持。后续有时间会补一个例子到 rc-table 上,也非常欢迎尝试并 PR 这个 demo 到 http://github.com/react-component/table 。 |
请问getBodyWrapper接口不打算暴露到antd Table吗? |
@wufeng87 可以用,高级用法 API 里暂时不写,保持简单。 |
See these examples react-component/table#83 (comment) |
@yesmeck 把那个例子更新到 rc-table 的 demo 里面?然后这个 issue 就关了?毕竟不准备暴露到 antd 这层。 |
@yesmeck @benjycui 拖拽相关的方案我优化了下, 支持拖拽 Table 的 row 及 column ! Demo: HomePage:https://github.com/raisezhang/react-drag-listview 辛苦看看还有啥问题或者建议, 多谢~ |
请教下 树形数据的表格,可以实现拖拽吗 |
The text was updated successfully, but these errors were encountered: