on 08-07-2015 2:48 PM
Hi All,
So I'm trying to attach event on row deselection in a TreeTable control.
I have to select few child nodes, then deselect one of them and perform action with JSON model of deselected one.
Problem is, that when I select first set of child nodes, I want to open next parent node to see&select its children. When I press + to expand node, my previous selection goes away.
Here is the code:JS Bin - Collaborative JavaScript Debugging
Any suggestions, please?
HI Ivan
Please change
if (!(oTable.isIndexSelected(deselectedRowId))){
to
if (deselectedRowId !==-1 && !(oTable.isIndexSelected(deselectedRowId))){
Thanks
-D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
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.