Sum treegrid

Hi,



I have a treegrid and i’m using ed[=sum] in the col type definition. The problem is that i only need this summatory in the 4th level of the treegrid, so i tried to use =sum in the xml with no success. Is there a way to do this??



Thanks in advance

This must work, but you still need to define column as math enabled, so you can use something similar to next

grid.setColTypes(“tree,ro[=]”);

such definition creates second column as “ro” but with ability to understand math formulas , after that you can set
    =sum
for necessary cells only