Search results

AggregateDirective API in Angular Grid API component

e-aggregate directive represent a aggregate row of the Angular Grid. It must be contained in a Grid component(ejs-grid).

<ejs-grid [dataSource]='data' allowPaging='true' allowSorting='true'>
  <e-columns>
    <e-column field='ID' width='100'></e-column>
    <e-column field='name' headerText='Name' width='100'></e-column>
  </e-columns>
  <e-aggregates>
    <e-aggregate>
      <e-columns>
        <e-column field='ID' type='Min'></e-column>
      </e-columns>
     </e-aggregate>
   </e-aggregates>
</ejs-grid>

Properties

columns

any

Configures the aggregate columns.

Defaults to []