display of 0's in parent total in dhtmlxtreegrid latest ver

Hi



wen we changed to new version , total is not displayed if children’ s value is 0 and footer value is shown as NaN.

if value >0, then its working fine



Thanks

Swapna

Both math[=sum] and #stat_tree_total works correctly with 0 values in grid.
    dhtmlx.com/docs/products/dht … 2744961000

The only case when NaN can occur - you are using the math[=sum] against non numerical values., to resolve such issue you can use attached patch.

math_update.zip (436 Bytes)