I have a handsontable where I need to sum cols, the end col has total from all cols summed I can sum all cols, the problem is cols is dynamics sometimes one-col has a child, in this case, I need to sum the max of both, but I don’t know how can I do it, !when is just one just sum one. if has a child sum just the max both cols.!
ex: work1 is the parent. the child is help 1 , the arrays cols came from database
example http://jsfiddle.net/duxL728h/