我目前正在我的 Angular 7 应用程序中实现 ag-grid。我需要包含我所取得的每个组的页脚。我现在需要显示 EMV(USD) 总计和百分比列,如下面的屏幕截图所示。除提到的两列外,每个单元格的行应为空白,并且应显示总计
成分
import { Component, Injectable, NgZone, ViewEncapsulation, ViewChild, Input } from '@angular/core';
import { OnInit } from '@angular/core';
import { AllocationsService } from '../services/allocations.service';
import { formatDate } from '@angular/common';
import { GridOptions } from 'ag-grid-community/dist/lib/entities/gridOptions';
import { Comparator } from '../utilities/comparator';
import { ActivatedRoute } from '@angular/router';
import { TestBed } from '@angular/core/testing';
@Component({
selector: 'mgr-allocations',
templateUrl: './allocations.component.html'
})
export class AllocationsComponent implements OnInit {
private Error: string;
public evalDate: Date;
private …Run Code Online (Sandbox Code Playgroud)