Compare commits

..

6 Commits
ag49 ... 8.1.0

Author SHA1 Message Date
Alberto
05a7371467 8.1.0 2017-02-20 12:49:05 +00:00
Alberto
4ea0b7f8b2 Merge branch '8.0.0' 2017-02-09 15:48:33 +00:00
Alberto
5904f47d55 8.0.0 2017-02-09 14:14:07 +00:00
Alberto
25b416b71d Getting ready for releasing 8.0.0 2017-02-09 13:59:26 +00:00
Alberto
abb7828921 Getting ready for releasing 8.0.0 2017-02-09 13:58:19 +00:00
Alberto
ad5fd2d1ce ag-49 Ng2 Header component 2017-02-07 10:00:52 +00:00
2 changed files with 11 additions and 6 deletions

View File

@@ -1,12 +1,14 @@
{ {
"name": "ag-grid-react-example", "name": "ag-grid-react-example",
"version": "7.2.0", "version": "8.1.0",
"description": "Example Reach applicaiton using ag-Grid.", "description": "Example Reach applicaiton using ag-Grid.",
"main": "dist/ag-grid-react-example.js", "main": "dist/ag-grid-react-example.js",
"scripts": { "scripts": {
"standard": "webpack-dev-server --config webpack.config.standard.js --progress --colors --hot --inline", "standard": "webpack-dev-server --config webpack.config.standard.js --progress --colors --hot --inline",
"grouped": "webpack-dev-server --config webpack.config.grouped.js --progress --colors --hot --inline", "grouped": "webpack-dev-server --config webpack.config.grouped.js --progress --colors --hot --inline",
"large": "webpack-dev-server --config webpack.config.large.js --progress --colors --hot --inline" "large": "webpack-dev-server --config webpack.config.large.js --progress --colors --hot --inline",
"clean": "rimraf dist",
"build-standard": "npm run clean && webpack --config webpack.config.standard.js --progress --profile --bail"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@@ -35,10 +37,13 @@
"webpack-dev-server": "^1.14.1" "webpack-dev-server": "^1.14.1"
}, },
"dependencies": { "dependencies": {
"rimraf": "2.5.x",
"react": "0.14.6", "react": "0.14.6",
"react-dom": "0.14.6", "react-dom": "0.14.6",
"ag-grid": "7.2.x", "ag-grid": "8.1.x",
"ag-grid-enterprise": "7.2.x", "ag-grid-enterprise": "8.1.x",
"ag-grid-react": "7.2.x" "ag-grid-react": "8.1.x"
} }
} }

View File

@@ -30,7 +30,7 @@ export default class MyReactHeaderComponent extends React.Component {
let menuButton = null; let menuButton = null;
if (this.props.enableSorting){ if (this.props.enableMenu){
menuButton = <div ref="menuButton" className="customHeaderMenuButton" onClick={this.onMenuClick.bind(this)}><i className={"fa " + this.props.menuIcon}/></div> menuButton = <div ref="menuButton" className="customHeaderMenuButton" onClick={this.onMenuClick.bind(this)}><i className={"fa " + this.props.menuIcon}/></div>
} }