Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf1be920ee | ||
|
|
f8ad31c2e0 | ||
|
|
e026fb65e3 | ||
|
|
05a7371467 | ||
|
|
4ea0b7f8b2 | ||
|
|
5904f47d55 | ||
|
|
25b416b71d | ||
|
|
abb7828921 | ||
|
|
ad5fd2d1ce |
15
package.json
15
package.json
@@ -1,12 +1,14 @@
|
||||
{
|
||||
"name": "ag-grid-react-example",
|
||||
"version": "7.2.0",
|
||||
"version": "8.2.0",
|
||||
"description": "Example Reach applicaiton using ag-Grid.",
|
||||
"main": "dist/ag-grid-react-example.js",
|
||||
"scripts": {
|
||||
"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",
|
||||
"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": {
|
||||
"type": "git",
|
||||
@@ -35,10 +37,13 @@
|
||||
"webpack-dev-server": "^1.14.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"rimraf": "2.5.x",
|
||||
"react": "0.14.6",
|
||||
"react-dom": "0.14.6",
|
||||
"ag-grid": "7.2.x",
|
||||
"ag-grid-enterprise": "7.2.x",
|
||||
"ag-grid-react": "7.2.x"
|
||||
"ag-grid": "8.2.x",
|
||||
"ag-grid-enterprise": "8.2.x",
|
||||
"ag-grid-react": "8.2.x"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ export default class MyReactHeaderComponent extends React.Component {
|
||||
|
||||
|
||||
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>
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ export default class RowDataFactory {
|
||||
createRowData() {
|
||||
var rowData = [];
|
||||
|
||||
for (var i = 0; i < 1000; i++) {
|
||||
for (var i = 0; i < 200; i++) {
|
||||
var countryData = RefData.COUNTRIES[i % RefData.COUNTRIES.length];
|
||||
rowData.push({
|
||||
name: RefData.FIRST_NAMES[i % RefData.FIRST_NAMES.length] + ' ' + RefData.LAST_NAMES[i % RefData.LAST_NAMES.length],
|
||||
|
||||
@@ -204,7 +204,6 @@ export default class MyApp extends React.Component {
|
||||
enableFilter="true"
|
||||
groupHeaders="true"
|
||||
rowHeight="22"
|
||||
debug="true"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user