Add sub-total row to lists

Is there any way possible to append a row to show information about a subtotal for certains columns in ListController? OC v.3


Name Qty Price
Product 1 1 100
Product 2 1 200
Product 3 1 100
------------- - -----
Sub-total 3 400

Hi @andrewJEE

This is not a feature available in the List widget. Sub totals are much simpler in execution, they don’t use pagination or complex queries, so it would be much easier to just use a HTML partial for this.

Thank you very much. I will do just that.

Hi @andrewJEE

Thinking more about this today, you should be able to specify a customViewPath and then override any of the List widget’s view files.

It might be worth exploring…