AG-1329 Update framework examples and tests
This commit is contained in:
@@ -2,10 +2,11 @@ import React, {Component} from 'react';
|
||||
import SimpleCellRenderer from './simpleCellRenderer.jsx';
|
||||
import {AgGridReact} from 'ag-grid-react';
|
||||
|
||||
import '@ag-community/client-side-row-model'
|
||||
// for community features
|
||||
import {AllModules} from "@ag-community/grid-all-modules";
|
||||
|
||||
// put this line in to use ag-Grid enterprise
|
||||
// import 'ag-grid-enterprise';
|
||||
// for enterprise features
|
||||
// import {AllModules} from "@ag-enterprise/grid-all-modules";
|
||||
|
||||
export default class MyApp extends Component {
|
||||
|
||||
@@ -63,7 +64,7 @@ export default class MyApp extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div style={{height: '100%'}} className="ag-theme-fresh">
|
||||
<AgGridReact columnDefs={this.state.columnDefs} rowData={this.state.rowData}/>
|
||||
<AgGridReact columnDefs={this.state.columnDefs} rowData={this.state.rowData} modules={AllModules}/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user