DHTMLX Docs & Samples Explorer

Math Formulas in TreeGrid

In addition to standard dhtmlxGrid Math formulas, TreeGrid has the ability to calculate totals for children values:

        treegrid.setColTypes("ed,ed,ed,ed,ed[=sum]");

This means that each parent element in the last column will contain the sum of cells in child rows of the same column.