2.0.1 • Published 2 years ago

@crafts/smart-grid v2.0.1

Weekly downloads
181
License
ISC
Repository
github
Last release
2 years ago

Smart Grid

Features

  • 🪄 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 🔥

Usage

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/

Development Guide

This project has been divided in 3 parts,

  1. Main package: src.
  2. Documentation: docs.
  3. Examples: examples, it contains various examples.

Running main package watch mode

npm i && npm start

This will build files in watch mode at examples/grid

Running dev server

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.

Docs

cd docs
npm i
npm start
2.0.1

2 years ago

2.0.0

3 years ago

2.0.0-3

4 years ago

2.0.0-2

4 years ago

2.0.0-1

4 years ago

2.0.0-0

4 years ago

1.0.0

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.2

5 years ago

0.1.3

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.1.0-0

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.13

5 years ago

0.0.14

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.3

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago