- πͺ Virtualization
- π² Dynamic Height
- π Pinned Columns (Synced Multi Grid)
- β Infinite Scroll
- π Highly configurable
- πͺ TypeScript
- β Pretty small
- π Faster and lighter than V1
- π Out of the box Grid, just provide schema and data (releasing soon)
- π€ Backward compatibility (TBA)
- and much more π₯
npm i && npm start
const { onScroll, rowRenderer } = useGrid({
data: state.loading ? state.data.concat([null, null]) : state.data,
rowHeight: rowHeight || 39,
buffer,
limit,
loadMore: getData,
virtualized,
});
For complete Documentation please visit: https://smartgrid.mukulja.in/
This project has been divided in 3 parts,
- Main package:
src
. - Documentation:
docs
. - Examples:
examples
, it contains various examples.
npm i && npm start
This will build files in watch mode at examples/grid
To develope choose a type of example or copy any example and you can start there.
cd examples/example-name
npm i
npm start
For development purpose you can import smart grid apis from examples/grid
.
cd docs
npm i
npm start