iteration

This commit is contained in:
Ceolter
2016-02-03 12:42:46 +00:00
parent 3ab044380b
commit 3826856000
5 changed files with 9 additions and 12 deletions

View File

@@ -19,7 +19,7 @@
"author": "Niall Crosby <niall.crosby@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ceolter/ag-grid/issues"
"url": "https://github.com/ceolter/ag-grid-react-example/issues"
},
"homepage": "http://www.ag-grid.com/",
"devDependencies": {
@@ -34,7 +34,7 @@
"dependencies": {
"react": "0.14.6",
"react-dom": "0.14.6",
"ag-grid": "3.2.2",
"ag-grid-react-component": "3.2.2"
"ag-grid": "~3.3.0-alpha.1",
"ag-grid-react": "3.3.0-alpha.1"
}
}

View File

@@ -1,11 +1,8 @@
import SkillsCellRenderer from './SkillsCellRenderer.jsx';
import ProficiencyCellRenderer from './ProficiencyCellRenderer.jsx';
import RefData from './RefData';
import ReactDOM from 'react-dom';
import React from 'react';
import AgGrid from 'ag-grid-react-component';
import {reactCellRendererFactory} from 'ag-grid-react-component';
import {reactFilterFactory} from 'ag-grid-react-component';
import {reactCellRendererFactory} from 'ag-grid-react';
import {reactFilterFactory} from 'ag-grid-react';
import SkillsFilter from './SkillsFilter.jsx';
import ProficiencyFilter from './ProficiencyFilter.jsx';

View File

@@ -4,8 +4,8 @@ import ReactDOM from 'react-dom';
import React from 'react';
import MyApp from './MyApp.jsx';
// is there a better way of doing this?
import 'ag-grid-root/ag-grid.css';
import 'ag-grid-root/theme-fresh.css';
import 'ag-grid-root/styles/ag-grid.css';
import 'ag-grid-root/styles/theme-fresh.css';
// waiting for dom to load before booting react. we could alternatively
// put the index.js reference at the end fo the index.html, but i prefer this way.

View File

@@ -1,6 +1,6 @@
import ReactDOM from 'react-dom';
import React from 'react';
import {AgGridReact} from 'ag-grid-react-component';
import {AgGridReact} from 'ag-grid-react';
import RefData from './RefData';
import RowDataFactory from './RowDataFactory';
import ColDefFactory from './ColDefFactory.jsx';

View File

@@ -21,7 +21,7 @@ module.exports = {
},
resolve: {
alias: {
"ag-grid-root" : __dirname + "/node_modules/ag-grid/dist"
"ag-grid-root" : __dirname + "/node_modules/ag-grid"
}
}
};