我一直在看有关fresh项目的ag-grid的“入门”教程。已完成所有步骤,但收到错误消息
ag-Grid: could not find matching row model for rowModelType clientSide
ag-Grid: Row Model "Client Side" not found. Please ensure the ClientSideRowModelModule is loaded using: import '@ag-grid-community/client-side-row-model';
将我的所有代码与教程中提
我正在开发一个使用angular2和typescript构建的应用程序。我正在使用ag-grid在网格中显示数据,但是找不到网格api。
/// <reference path="../../../typings/jquery/jquery.d.ts" />
import {Component} from 'angular2/core';
import {Hero, HeroService} from './hero.service';
var gridOptions;
var heroService;
import * as
我收到了一条关于Can't bind to 'columnDefs' since it isn't a known property of 'ag-grid-angular'的错误消息。我读过一些类似问题的建议,但没有一个答案解决了我的问题。我的HTML是这样的:
<ag-grid-angular class="my-class-here"
...
[columnDefs]="gridColumnDefs"
...
</ag-grid-angular>
我的componen
我很难在我的角度应用程序中实现ag网格。我可以将数据加载到网格中,但是当我加载数据集时,没有滚动条。
右边的键盘导航显示更多列显示空白数据,告诉我ag-grid还没有发现我在滚动。
我遵循了ag网格提供的所有教程,并尝试将其封装到<div>中。我可以改变网格的大小,但我不能滚动。
component.css - (there are no global styles applied)
@import "~ag-grid/dist/styles/ag-grid.css";
@import "~ag-grid/dist/styles/ag-theme-balha
我在angular4中使用了ag-grid。我想通过API方法使用API显示数据。我的API是ok的,并且也在控制台中获取数据。但是我不能在ag-grid中显示数据。我不明白这里有什么问题。当我编译我的项目时,没有显示错误。我的项目在浏览器中运行,还显示标题名称,但不显示来自API的数据。
我的ts文件:
import {Component, OnInit} from '@angular/core';
import {GridOptions} from 'ag-grid';
import {Http} from '@angular/http';
刚开始使用Angular,所以很明显使用NG6
试图用AG-Grid创建一个演示,以证明付费版本的成本,但遵循他们的网站上的简单步骤开始给我下面的错误。让我先确认一下这个组件是否与Angular 6兼容?
干杯,N
Uncaught Error: Template parse errors:
Can't bind to 'rowData' since it isn't a known property of 'ag-grid-angular'.
1. If 'ag-grid-angular' is an Angular compo