将 react-sortable-hoc 与 react-virtualized Grid 一起使用

Using react-sortable-hoc with react-virtualized Grid

我想使用 react-sortable-hoc with react-virtualized's Grid where the rows are sortable. I cannot use the List as I have multiple columns and I cannot use it with the Table,因为我的列太多,因此需要水平滚动。

我面临的问题是 Grid 没有 rowRenderer 回调,而 Table 或 List 有(它只有 cellRenderer and cellRenderer),因此我没有不知道用什么包裹 SortableElement

如果有关于此用法的任何想法或示例,我将不胜感激?

我最终将其实现为 cellRangeRenderer - 请参阅我对此 GitHub 问题的评论:https://github.com/clauderic/react-sortable-hoc/issues/295#issuecomment-344070823