Belmiris
Belmiris

Reputation: 2805

installing ag-grid into existing angular2+ project

Is there a way to install the ag-grid into an existing project without using the 'seed' they supply here? https://www.ag-grid.com/angular-getting-started/#gsc.tab=0

Upvotes: 0

Views: 123

Answers (1)

Belmiris
Belmiris

Reputation: 2805

Follow the instruction at:

https://www.ag-grid.com/ag-grid-angular-angularcli/#gsc.tab=0

npm i ag-grid --save
npm i ag-grid-angular --save

To get the example to work, replace their src/app/red-component/red-component.component.html code with:

<span style="color: red">{{ params.value }}</span>

Hopefully this will help someone like me wading into js frameworks for the first time.

Upvotes: 1

Related Questions