Version 11.0.0
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ag-grid-react-example",
|
"name": "ag-grid-react-example",
|
||||||
"version": "10.0.0",
|
"version": "11.0.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": {
|
||||||
@@ -62,9 +62,9 @@
|
|||||||
"react-redux": "5.0.x",
|
"react-redux": "5.0.x",
|
||||||
"redux": "3.6.x",
|
"redux": "3.6.x",
|
||||||
"url-search-params-polyfill": "1.2.0",
|
"url-search-params-polyfill": "1.2.0",
|
||||||
"ag-grid": "10.1.x",
|
"ag-grid": "11.0.x",
|
||||||
"ag-grid-enterprise": "10.1.x",
|
"ag-grid-enterprise": "11.0.x",
|
||||||
"ag-grid-react": "file:../ag-grid-react"
|
"ag-grid-react": "11.0.x"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,8 @@ export default class FilterComponentExample extends Component {
|
|||||||
headerName: "Filter Component",
|
headerName: "Filter Component",
|
||||||
field: "name",
|
field: "name",
|
||||||
filterFramework: PartialMatchFilter,
|
filterFramework: PartialMatchFilter,
|
||||||
width: 400
|
width: 400,
|
||||||
|
menuTabs:['filterMenuTab']
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@@ -75,8 +76,6 @@ export default class FilterComponentExample extends Component {
|
|||||||
rowData={this.state.rowData}
|
rowData={this.state.rowData}
|
||||||
|
|
||||||
enableFilter
|
enableFilter
|
||||||
suppressMenuColumnPanel // ag-enterprise only
|
|
||||||
suppressMenuMainPanel // ag-enterprise only
|
|
||||||
|
|
||||||
// events
|
// events
|
||||||
onGridReady={this.onGridReady}>
|
onGridReady={this.onGridReady}>
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ export default class MedalRenderer extends Component {
|
|||||||
super(props);
|
super(props);
|
||||||
|
|
||||||
this.country = this.props.node.key;
|
this.country = this.props.node.key;
|
||||||
this.gold = this.props.data.gold;
|
this.gold = this.props.node.aggData.gold;
|
||||||
this.silver = this.props.data.silver;
|
this.silver = this.props.node.aggData.silver;
|
||||||
this.bronze = this.props.data.bronze;
|
this.bronze = this.props.node.aggData.bronze;
|
||||||
|
|
||||||
// override the containing div so that the +/- and label are inline
|
// override the containing div so that the +/- and label are inline
|
||||||
this.props.reactContainer.style.display = "inline-block";
|
this.props.reactContainer.style.display = "inline-block";
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ export default class DetailPanelComponent extends Component {
|
|||||||
headerName: 'Duration',
|
headerName: 'Duration',
|
||||||
field: 'duration',
|
field: 'duration',
|
||||||
cellClass: 'call-record-cell',
|
cellClass: 'call-record-cell',
|
||||||
cellFormatter: this.secondCellFormatter
|
valueFormatter: this.secondCellFormatter
|
||||||
},
|
},
|
||||||
{headerName: 'Switch', field: 'switchCode', cellClass: 'call-record-cell'}];
|
{headerName: 'Switch', field: 'switchCode', cellClass: 'call-record-cell'}];
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ export default class MasterDetailExample extends Component {
|
|||||||
},
|
},
|
||||||
{headerName: 'Account', field: 'account'},
|
{headerName: 'Account', field: 'account'},
|
||||||
{headerName: 'Calls', field: 'totalCalls'},
|
{headerName: 'Calls', field: 'totalCalls'},
|
||||||
{headerName: 'Minutes', field: 'totalMinutes', cellFormatter: this.minuteCellFormatter}
|
{headerName: 'Minutes', field: 'totalMinutes', valueFormatter: this.minuteCellFormatter}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -131,7 +131,6 @@ export default class MasterDetailExample extends Component {
|
|||||||
|
|
||||||
enableSorting
|
enableSorting
|
||||||
enableColResize
|
enableColResize
|
||||||
suppressMenuFilterPanel
|
|
||||||
|
|
||||||
// events
|
// events
|
||||||
onGridReady={this.onGridReady}>
|
onGridReady={this.onGridReady}>
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ class GridComponent extends Component {
|
|||||||
enableColResize
|
enableColResize
|
||||||
rowSelection="multiple"
|
rowSelection="multiple"
|
||||||
enableRangeSelection
|
enableRangeSelection
|
||||||
groupColumnDef={{
|
autoColumnGroupDef={{
|
||||||
headerName: 'Symbol',
|
headerName: 'Symbol',
|
||||||
cellRenderer: 'group',
|
cellRenderer: 'group',
|
||||||
field: 'symbol'
|
field: 'symbol'
|
||||||
|
|||||||
Reference in New Issue
Block a user