I want to add a new element in AG Grid. I have a following model:
export class PersonModel { cars: CarModel[]; }
The AG Grid has as
I visited ag-grid documentation and got rowData is simple array. If ag-grid not refreshing your dom then may be they want a fresh array. You can do like this:
this.person.cars = [this.person.cars.slice(0), yourNewCarObj];