bvaughn / react-virtualized

React components for efficiently rendering large lists and tabular data
http://bvaughn.github.io/react-virtualized/
MIT License
26.27k stars 3.06k forks source link

React virtualized Masonry rendering aggregated data #1229

Open MatteoGioioso opened 5 years ago

MatteoGioioso commented 5 years ago

Do you want to request a feature or report a bug?

Requesting a feature?

React virtualized Masonry rendering aggregated data

image

Something that allow to access row or group of rows, to put a divider of a title between group of rows

function groupRenderer ({ index, key, parent, style }) {

    return (
      <Group
       row={4}
      >
     <h1>title ...1967</h1>
     </Group>
    )
  }

<Masonry
        groupRenderer={groupRenderer}
    />
MatteoGioioso commented 5 years ago

Up. I think is a quite important feature

MatteoGioioso commented 5 years ago

up

MatteoGioioso commented 5 years ago

For now I have solved the issue by making each year a list item and using the List component instead of Masonry. But sometimes one year can contain many pictures. So is there a way to virtualize those pictures inside each year?

devinmorgan commented 5 years ago

I could really benefit from this feature as well. I have a giant list of ordered groups of images that I need to display to users so such a feature would be of great use.

MatteoGioioso commented 5 years ago

I think this library is somewhat not maintained anymore by the look of the issues opened/solved. I saw the owner is working on React-window at the moment.