Skip to Content
Former Member
Aug 02, 2015 at 04:39 PM

Programmatically multiselect rows in a TreeTable


Hi All,

I have a TreeTable with detailsButton, attached to every data row.

My task is: on the lowest level of hierarchy, open OverlayContainer by clicking the detailsButton. Overlay has another button - confirmButton in itself. Clicking on it will select TreeTable row, on which detailsButton has been clicked.

Selected rows of TreeTable shouldn't be deselected, when selecting next row with described procedure.

Problem: after some testing and clicking various child nodes, selection starts working randomly, selecting different parent nodes. Not the node, which detailsButton was pressed. I think, this happening because of expanded nodes which are below selected row. So TreeTable is changing its RowCount.

Here is my code :JS Bin - Collaborative JavaScript Debugging

Any suggestions, please?