【发布时间】:2018-05-09 19:14:44
【问题描述】:
我正在考虑将 ag-Grid 用于我们的目的。我们需要将大量行(约 50,000 行)加载到 ag-Grid。 此外,我们必须用 grouping 显示行(见附件截图)。 然而,在添加带有分组属性的“ag-Grid”之后,网格加载非常非常慢,有时甚至堆叠。展开/折叠选项也很慢。
this.gridOptions = <GridOptions>{
rowData:this.rowData,
columnDefs:this.columnDefs,
enableFilter: true,
maxBlockInCache: 100,
cacheOverflowSize:50,
cacheBlockSize:50,
enableRtl: true,
enableColResize:true,
suppressAutoSize:true,
enableSorting:true,
rowSelection: 'multiple',
rowDeselection:true,
enableStatusBar:true,
alwaysShowStatusBar:true,
enableRangeSelection:true,
rowGroupPanelShow: "always",
animateRows: true,
groupDefaultExpanded: -1,
autoGroupColumnDef: { field: "city" },
columnTypes: this.columnTypes
};
您能否提供帮助或提出解决问题的任何想法?
【问题讨论】:
标签: angular ag-grid ag-grid-ng2