在填充数据之前,我正在尝试清除ag-grid。由于rowModelType被设置为'infinite',所以我不能使用setRowData()方法来更改网格数据。相反,我创建了另一个设置空数据的本地数据源,然后将其用作我的网格的数据源。下面是在我的component.ts中清除并填充数据的代码:
public
为什么带有ag网格的 on TypeSctipt不能工作?EXCEPTION: No Directive annotation found on AgGridNg2import {Component, View} from 'angular2/angular2'
import {CarsService} from '.或者现在版本的Angular2 Beta坏了?