diff --git a/package.json b/package.json index 70815e3..1c3ef8e 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "dependencies": { "react": "0.14.6", "react-dom": "0.14.6", - "ag-grid": "~3.3.0-alpha.1", - "ag-grid-react": "3.3.0-alpha.1" + "ag-grid": "3.3.x", + "ag-grid-react": "3.3.x" } } diff --git a/src/ColDefFactory.jsx b/src/ColDefFactory.jsx index 487c375..0685223 100644 --- a/src/ColDefFactory.jsx +++ b/src/ColDefFactory.jsx @@ -11,7 +11,7 @@ export default class ColDefFactory { createColDefs() { var columnDefs = [ - {headerName: '', width: 30, checkboxSelection: true, suppressSorting: true, + {headerName: '#', width: 30, checkboxSelection: true, suppressSorting: true, suppressMenu: true, pinned: true}, { headerName: 'Employee', diff --git a/src/index.js b/src/index.js index 0a0c92d..b0fe459 100644 --- a/src/index.js +++ b/src/index.js @@ -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/styles/ag-grid.css'; -import 'ag-grid-root/styles/theme-fresh.css'; +import 'ag-grid-root/dist/styles/ag-grid.css'; +import 'ag-grid-root/dist/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.