3

参考拖放示例,有没有办法在移动发生之前在将要移动到的行上显示视觉指示器?这类似于重新排序列标题时显示的视觉指示器。如果完成移动,删除的行将移动到的行的上方或下方会显示一条线,让用户了解该行的位置。

在这里发帖是因为微软不想在他们的 GitHub 存储库问题中提出问题。

4

1 回答 1

0

你有没有尝试过 :

            onDragEnter: (item?: any, event?: DragEvent) => {
            // return string is the css classes that will be added to the entering element.
            return dragEnterClass;
        },

在拖放事件中。

于 2021-04-26T13:23:23.013 回答