Package Exports
- react-data-grid-addons
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-data-grid-addons) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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-addonsUsage
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 |