on 02-20-2017 10:22 AM
Hi All,
In sap.ui.table.treeTable control, when I select child nodes and collapse corresponding parent node and expand it again it will lost all the selections which I did before for child nodes.
Before collapse
After collapse and expand I will lost the selection
could anyone please help me in resolving this issue
Thanks,
Best Regards,
Viswanath
Hi,
try to set property collapseRecursive="false" in the XML file. (See here: https://experience.sap.com/fiori-design-web/tree-table/)
Had the same issue and setting this property in Google Chrome worked for me, but not for IE11. Is there any chance that this property will be supported from IE?
I also had the filter issue and solved it via JavaScript and a temporary array with the selected paths (nodes) ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Facing the same issue, any expert could shed some light on this?
It also deselects what I had selected after filtering...
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
May be "setCollapseRecursive" can help you.
in View :- collapseRecursive="true"
Please try it once.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Vikash and Viswanth,
sap.ui.table.TreeTable API doesn't support this feature whereas you can customize using getSelectedIndices, setSelectedIndices methods and toggleOpenState event handler which will trigger on expand and collapse.
Thanks,
Kumar Karanam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello michael.hameister and viswanathgolakoti
Can you please share how you retain the selection during live search / search in the tree table please? For me the selection is going off when doing live search
Thanks,
Vikash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
Could you solve it? I have the same problem!
Thnks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.