on 08-02-2015 5:39 PM
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?
HI Ivan
Please let me know if this is the answer to your questions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dennis!
Unfortunately, not...
Here is my testing:
Rock/Rock'n'Roll/Elvis Prestley (correct)
........................../Keith Richards (correct)
ZZZ/subitem3-0 (correct)
ZZZ/subitem3-5 (correct)
ZZZ/subitem3-10 (INCORRECT, ZZZ/subitem3-4 selected instead)
ZZZ/subitem3-16 (INCORRECT, ZZZ/subitem3-6 is selected instead)
Hip-Hop/Old-School/The Surgahill Gang (correct)
Hip-Hop/Gangasta Rap/2pac (INCORRECT, Hip-Hop/Old-School/Grandmaster Flash is selected instead)
Oh, sure;) The problem was in visibleRowCount=20 parameter. When selecting a row which rowId is higher than visibleRowCount, function stops working correctly. Even selecting a row, which rowId is lower than this parameter after that, didn't fix it.
So, setting parameter to visibleRowCount=50 resulted in successfully working function and I am thank You for this 😃 Best regards!
Can you try if this fix the bug
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.