Search results

AggregateDirective

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

<ejs-treegrid [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-treegrid>

Properties

columns

any

Configures the aggregate columns.

Defaults to []

showChildSummary

any

Display the childSummary for each parent.