@chilangomax/react-data-grid-addons

A set of addons for react-data-grid

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@chilangomax/react-data-grid-addons
Minified + gzip package size for @chilangomax/react-data-grid-addons in KB

Readme

react-data-grid-addons

A set of addons for react-data-grid with things like editors, formatters, toolbars, filters..

Install

npm install --save react-data-grid-addons

Usage

import { Editors, Formatters } from 'react-data-grid-addons';
const { DropDownEditor } = Editors;
const { DropDownFormatter } = Formatters;

const titles = ['Dr.', 'Mr.', 'Mrs.', 'Miss', 'Ms.'];
const columns = [
  ...
  { 
    key: 'titles',
    name: 'Titles',
    editor: <DropDownEditor options={titles} />,
    formatter: DropDownFormatter 
  },
  ...
];

Exports

This package exports:

name source
Editors Editors
Formatters Formatters
Toolbar Toolbar
ToolsPanel ToolsPanelCell
Data Data
Menu Menu
Draggable Draggable
Filters Filters

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.