(tree, expandHandler)
| 671 | } |
| 672 | |
| 673 | collapseRow(tree, expandHandler) { |
| 674 | let row = tree.row; |
| 675 | let id = row.id; |
| 676 | let index = row.rowIndex; |
| 677 | while (row.rowIndex < this.rows.rows.length && |
| 678 | this.rows.rows[index].id.startsWith(id)) { |
| 679 | this.rows.deleteRow(index); |
| 680 | } |
| 681 | |
| 682 | tree.arrow.textContent = COLLAPSED_ARROW; |
| 683 | row.onclick = expandHandler; |
| 684 | } |
| 685 | |
| 686 | fillSelects(mode, calltree) { |
| 687 | function addOptions(e, values, current) { |