相关疑难解决方法(0)

需要使用角度在 ag-grid 的页脚中显示总值

我目前正在我的 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)

ag-grid angular

5
推荐指数
2
解决办法
2万
查看次数

标签 统计

ag-grid ×1

angular ×1