diff --git a/src/richGridExample/ColDefFactory.jsx b/src/richGridExample/ColDefFactory.jsx
index 735dd63..d74df2d 100644
--- a/src/richGridExample/ColDefFactory.jsx
+++ b/src/richGridExample/ColDefFactory.jsx
@@ -16,12 +16,7 @@ export default class ColDefFactory {
checkboxSelection: true,
suppressSorting: true,
suppressMenu: true,
- pinned: true,
- icons: {
- checkboxChecked: '',
- checkboxUnchecked: '',
- checkboxIndeterminate: ''
- }
+ pinned: true
},
{
headerName: 'Employee',
diff --git a/src/richGridExample/RichGridExample.jsx b/src/richGridExample/RichGridExample.jsx
index 227750d..e913f2c 100644
--- a/src/richGridExample/RichGridExample.jsx
+++ b/src/richGridExample/RichGridExample.jsx
@@ -6,7 +6,6 @@ import DateComponent from "./DateComponent.jsx";
import SortableHeaderComponent from "./SortableHeaderComponent";
import "./RichGridExample.css";
-
// take this line out if you do not want to use ag-Grid-Enterprise
import "ag-grid-enterprise";
@@ -29,7 +28,10 @@ export default class RichGridExample extends Component {
groupExpanded: '',
groupContracted: '',
columnGroupOpened: '',
- columnGroupClosed: ''
+ columnGroupClosed: '',
+ checkboxChecked: '',
+ checkboxUnchecked: '',
+ checkboxIndeterminate: ''
}
};
@@ -119,7 +121,7 @@ export default class RichGridExample extends Component {
// simply wait for the next tick
setTimeout(() => {
this.gridOptions.api.onFilterChanged();
- },0)
+ }, 0)
}
render() {
@@ -153,7 +155,9 @@ export default class RichGridExample extends Component {
Grid API:
{/* use ref to access the api in selectAll */}
-
+