我很难在我的角度应用程序中实现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
我一直在看有关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';
将我的所有代码与教程中提
我在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';