参考drag & drop example,有没有办法在发生移动之前在放置的行将要移动到的行上显示可视指示符?这将与对列标题重新排序时显示的视觉指示器相似。如果完成移动,将在拖放行的上方或下方显示一行,从而使用户可以了解该行的位置。
在这里发布是因为Microsoft不想在GitHub存储库问题上提出疑问。
答案 0 :(得分:0)
你有没有试过:
onDragEnter: (item?: any, event?: DragEvent) => {
// return string is the css classes that will be added to the entering element.
return dragEnterClass;
},
在 DragDrop 事件中。