简体   繁体   English

用 Angular 在 MatTable 中拖放多行

[英]Drag and drop multiple rows in MatTable with Angular

I have two Mat-Tables in my Angular project.我的 Angular 项目中有两个 Mat-Tables。 Drag and drop with single rows works fine.使用单行拖放可以正常工作。 But I need drag and drop with multiple rows, each checked by a checkbox.但我需要拖放多行,每行都由一个复选框选中。 Cant find any examples on how to do this.找不到有关如何执行此操作的任何示例。 Can anyone please help?有人可以帮忙吗?

Thank you!谢谢!

I found some working examples here: https://github.com/angular/components/issues/13807我在这里找到了一些工作示例: https://github.com/angular/components/issues/13807

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM