0.0.33 • Published 9 years ago

griddle-position-plugin v0.0.33

Weekly downloads
-
License
MIT
Repository
-
Last release
9 years ago

Griddle Position Plugin (BETA)

The position plugin allows you to add infinite scrolling and other position-specific functionality to the grid.

Install the plugin by running npm install griddle-position-plugin and add it to plugins property on Griddle with an optional config.

import PositionPlugin from 'griddle-position-plugin';
...
const optionalConfig = {...};
<Griddle ... plugins={[PositionPlugin(optionalConfig)]}

Configuration

Optional configuration values (and their defaults)

import PositionPlugin from 'griddle-position-plugin';
...
const settings = {
  // The height of the table
  tableHeight: 500,
  // The width of the table
  tableWidth: null,
  // The minimum row height
  rowHeight: 30,
  // The minimum column width
  defaultColumnWidth: null,
  // Whether or not the header should be fixed
  fixedHeader: true,
  // Disable pointer events while scrolling to improve performance
  disablePointerEvents: false
};
...
<Griddle data={data} plugins={[PositionPlugin(settings)]}/>

Planned Features

  1. Infinite column scrolling
  2. Column resizing
  3. Locked columns
0.0.33

9 years ago

0.0.32

9 years ago

0.0.31

9 years ago

0.0.30

9 years ago

0.0.29

9 years ago

0.0.28

9 years ago

0.0.27

9 years ago

0.0.26

9 years ago

0.0.24

9 years ago

0.0.23

9 years ago

0.0.22

9 years ago

0.0.21

9 years ago

0.0.20

9 years ago

0.0.19

9 years ago

0.0.18

9 years ago

0.0.17

9 years ago

0.0.16

9 years ago

0.0.15

9 years ago

0.0.14

9 years ago

0.0.13

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago