I have dynamic mat table one of the column has menu with total, min, max. If user clicks on amount column--> mat menu --> total, then display that total on the footer for that particular column using angular 14
I tried this
Total:{{ caltotal(column.businessName) }}, Avg:{{calAvg(column.businessName)}}Min:{{calMin(column.businessName)}}, Max:{{calMax(column.businessName)}}
but it displaying footer on page load itself with total ,min, Avg max enter image description here
expected: once click on amount column mat menu total footer has to display , just like excel total calculation.