clauderic / clauderic/react-sortable-hoc

Using this with react-virtualized Grid

Open
#295 5 comments 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.9k
Forks
959
PR merge metrics
No merged PRs in 30d

Description

First of all - this looks like an awesome project, thank you for that!

I want to use it with [react-virtualized's Grid](https://bvaughn.github.io/react-virtualized/#/components/Grid) where the rows are sortable. I cannot use the [List](https://bvaughn.github.io/react-virtualized/#/components/List) as I have multiple columns and I cannot use it with the [Table](https://bvaughn.github.io/react-virtualized/#/components/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`](https://github.com/bvaughn/react-virtualized/blob/master/docs/Grid.md#cellrenderer) and [`cellRenderer`](https://github.com/bvaughn/react-virtualized/blob/master/docs/Grid.md#cellrangerenderer)), thus I don't know what to wrap the `SortableElement` around. Do you have any ideas or have you seen any examples of this usage?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.