Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 1.15 KB

README.md

File metadata and controls

36 lines (20 loc) · 1.15 KB

react-vgrid

for the moment just start it

yarn && yarn start

TODO

  • basic captions
  • fix the loader
  • add the hover, out and click event handlers
  • caption filters global
  • caption filters multiple fields
  • filters smart set/reset
  • sorters (in captions) WIP
  • groups (config and captions)
  • collapsible groups
  • but even before try to think a flexible way to allow those to be headless
  • completely adapt the config consuption so that the react-vtable one can be used seamlessly for react-vgrid (done partially)

react-vgrid

install

yarn add @fedeghe/react-vgrid

React-vgrid creates a virtualized container. It renders only the very minimum amount of Items, and starting from computing the height all Items would occupy creates a top and bottom filling domnode with the right height so to allow the scrollbar to stay as if all elements were rendered. A constraint imposed by this approach is that every Item will have a fixed height (defaulted to 80px) and also the grid size need to be setted (defaulted to 1200px * 800px).

WIP