Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
86c353eaa9 | ||
|
|
52cf4512a9 | ||
|
|
611d668981 |
10
package.json
10
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ag-grid-react-example",
|
||||
"version": "22.0.0",
|
||||
"version": "22.1.0",
|
||||
"description": "Example Reach applicaiton using ag-Grid.",
|
||||
"main": "dist/ag-grid-react-example.js",
|
||||
"scripts": {
|
||||
@@ -38,7 +38,7 @@
|
||||
},
|
||||
"homepage": "http://www.ag-grid.com/",
|
||||
"devDependencies": {
|
||||
"@ag-grid-community/core": "~22.0.0",
|
||||
"@ag-grid-community/core": "~22.1.0",
|
||||
"@babel/core": "7.4.4",
|
||||
"@babel/plugin-proposal-class-properties": "7.4.4",
|
||||
"@babel/plugin-proposal-function-bind": "7.2.0",
|
||||
@@ -62,8 +62,8 @@
|
||||
"webpack-dev-server": "3.4.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ag-grid-enterprise/all-modules": "~22.0.0",
|
||||
"@ag-grid-community/react": "~22.0.0",
|
||||
"@ag-grid-enterprise/all-modules": "~22.1.0",
|
||||
"@ag-grid-community/react": "~22.1.0",
|
||||
"bootstrap": "4.3.1",
|
||||
"d3": "4.9.1",
|
||||
"lodash": "4.17.11",
|
||||
@@ -73,4 +73,4 @@
|
||||
"react-router-dom": "5.0.0",
|
||||
"redux": "4.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
import React, {Component} from "react";
|
||||
import {connect} from "react-redux";
|
||||
import {AgGridReact} from "@ag-grid-community/react";
|
||||
import {AllModules} from "@ag-grid-enterprise/all-modules";
|
||||
|
||||
import PriceRenderer from "./PriceRenderer";
|
||||
|
||||
@@ -43,6 +44,7 @@ class GridComponent extends Component {
|
||||
// properties
|
||||
columnDefs={this.state.columnDefs}
|
||||
rowData={this.props.rowData}
|
||||
modules={AllModules}
|
||||
|
||||
// events
|
||||
onGridReady={this.onGridReady}>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import React, {useContext} from "react";
|
||||
import {Context} from "./store";
|
||||
import {AgGridReact} from "@ag-grid-community/react";
|
||||
import {AllModules} from "@ag-grid-enterprise/all-modules";
|
||||
|
||||
/*
|
||||
* This component serves to display the row data (provided by redux)
|
||||
@@ -21,6 +22,7 @@ export default function GridComponent() {
|
||||
// properties
|
||||
columnDefs={columnDefs}
|
||||
rowData={rowData}
|
||||
modules={AllModules}
|
||||
|
||||
defaultColDef={{filter: true}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user