react-sortable-hoc

Using react-sortable-hoc with react-virtualized Grid

痞子三分冷 提交于 2019-12-07 08:02:28
问题 I want to use 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 because I have too many columns and therefore need horizontal scrolling. The issue that I am facing is that the Grid does not have a rowRenderer callback as the Table or List has (it only has cellRenderer and cellRenderer), thus I don't know what to wrap the SortableElement around. I would appreciate any ideas or