features
Menu
Menu

Aggregation

ZingGrid has default behaviors for aggregating sum, average, count, min, max and total values from columns displayed in a single row at the base of the grid.

On This Page

Average

Get the average of a column in the footer..
CloseCopy Copied
<zg-column index="..." foot-cell="avg"></zg-column>
Edit
Download
CloseCopy Copied
CloseCopy Copied
CloseCopy Copied

Count

Get the count of a column in the footer.
CloseCopy Copied
<zg-column index="..."  foot-cell="count"></zg-column>
Edit
Download
CloseCopy Copied
CloseCopy Copied
CloseCopy Copied

Min

Get the minimum value of a column in the footer.
CloseCopy Copied
<zg-column index="..."  foot-cell="min"></zg-column>
Edit
Download
CloseCopy Copied
CloseCopy Copied
CloseCopy Copied

Max

Get the maximum value of a column in the footer.
CloseCopy Copied
<zg-column index="..."  foot-cell="max"></zg-column>
Edit
Download
CloseCopy Copied
CloseCopy Copied
CloseCopy Copied

Sum

Get the sum total value of a column in the footer.
CloseCopy Copied
<zg-column index="..."  foot-cell="sum"></zg-column>
Edit
Download
CloseCopy Copied
CloseCopy Copied
CloseCopy Copied

Related Resources

Join the Community

Support, extra demos, pre-releases and more

loadingloadBgloadBgloadBgloadBgloadBgloadBgloadBgloadBgloadBgloadBgloadBgloadBgloadBgloadBgloading