Compare commits

...

3 Commits

Author SHA1 Message Date
Sean Landsman
86c353eaa9 Release 22.1.0 2019-12-02 14:30:27 +00:00
Sean Landsman
52cf4512a9 AG-3600 React - memoized functions don't render 2019-11-21 14:55:31 +00:00
Sean Landsman
611d668981 Merge branch 'b22.0.0' into latest 2019-11-11 15:02:22 +00:00
3 changed files with 9 additions and 5 deletions

View File

@@ -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"
}
}
}

View File

@@ -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}>

View File

@@ -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}}