Installing AG Grid with React
Installing
To get started, install the ag-grid-community
and ag-grid-react
modules.
npm install --save ag-grid-community ag-grid-react
Styling with a Theme
Import the necessary base and theme CSS files.
import 'ag-grid-community/styles/ag-grid.css';
import 'ag-grid-community/styles/ag-theme-alpine.css';
💁 We'll cover custom styling in more detail in the Advanced AG Grid section.