Cannot call setRowData unless using normal row model error in ag-grid
问题 Having a form with an ag-grid , even though basic grid is working it gives error in console cannot call setRowData unless using normal row model So most of the api functions including clear not working. <form [formGroup]="myForm" (ngSubmit)="search()" > <button type="submit" class="btn btn-primary ripple">Search</button> </form> <div class="grid-wrapper animated fadeIn" > <ag-grid-angular #agGrid style="width: 100%; height: 315px;" class="ag-fresh" [gridOptions]="gridOptions" [columnDefs]=