Add up childern values and write them in parent, JavaFX
问题 I have creating this treetable Now I want to sum up th children values and show the result in the parent cell under the related column. For example for Function 7 in column 2 and row 2 I want to right 2.0, and for Function 11 column 4 row 4 right 1.0 (function 12 + function 13) Here is the code which produces the treetable. root.setExpanded(true); Set<String> combinedKeys = new HashSet<>(dc.getCombiFunc().keySet()); Set<String> funcAllKeys = new HashSet<>(dc.getSortedfuncAll().keySet());