GriddleGriddle / Griddle

Simple Grid Component written in React
http://griddlegriddle.github.io/Griddle/
MIT License
2.5k stars 377 forks source link

question: pagesize dynamic (rest of viewport) #825

Open awb99 opened 6 years ago

awb99 commented 6 years ago

This is a question I could not find in the docs:

I basically want Griddle to use the remaining screen that it can use, so that it will always display as many rows as it can. My page has a menu on top, so griddle can use viewport height- header pixels.

Is this a stupid question? I believe if there is lots of data to be displayed, then I want to show the maximum that I can to the user.

Thanks!

dahlbyk commented 6 years ago

This very much depends on how your data is available, but I would look at combining LocalPlugin and PositionPlugin to manage a fixed-height viewport.