Package Exports
- react-datagrid-datatable
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-datagrid-datatable) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Welcome to React DataGrid
The MOST Powerful DataGrid/DataTable/Tree Table component for React based Line Of Business Applications
Print, Word/Excel Export, Server/Client Paging and Filtering, Customizable Filter Controls and Summary Footers, User Settings, Preference Persistence
Smooth scroll, Nested Hierarchical Tree/child grids, Left/Right Locked Columns, Lazy Load/Virtual Scroll
Visit us at:
Instructions
- Instruction Video : https://www.youtube.com/watch?v=sO3o0zG93fM
- Running example : http://www.webpackbin.com/VkzRMfjYz
- Code : https://github.com/flexicious/react-datagrid-getting-started
- npm install --save flexicious-react-datagrid
- npm install --save flexicious-react-datagrid-styles
- Add the following imports to your screen:
import { ReactDataGrid, ReactDataGridColumn } from 'flexicious-react-datagrid'
import { CssStyles, ApiStyles } from 'flexicious-react-datagrid-styles'
And then in your render method:
<div>
<h1>Hello World!</h1>
<ReactDataGrid styles={ApiStyles.getThemeStyles('officeblue')} width={"100%"} editable dataProvider={[{ label: "Company A", state: "NJ", rank: "1.11" },
{ label: "Company B", state: "PA", rank: "11.1" },
{ label: "Company C", state: "CT", rank: "-111" },
{ label: "Company D", state: "NY", rank: "2.34" },
{ label: "Company E", state: "NJ", rank: "22.2" }]}>
<ReactDataGridColumn dataField="label" />
<ReactDataGridColumn dataField="state" />
<ReactDataGridColumn dataField="rank" sortNumeric />
</ReactDataGrid>
</div>