Please can you help me with this?, with the last tweak you made on the LayerListView.js were you made changes to the "LayerTitleTdNode" to expand the layerlist one level, on upgrading to the new WAB 2.1, the has reset this part of the code but re-aading that bit back in removes all the layers within the list.....
Any solutions to make this work?
Please
Thank you for your constant help
Baba
Solved! Go to Solution.
Baba,
See this thread for the 2.1 answer:
Thanks for the quick response, however, I only want a level 1 expansion not to include the legends.......What do I need to modify within that code?
Cheers
Baba
Thanks Robert figured it out, works now
Baba,
So just execute:
this.foldOrUnfoldAllRootLayers(false); from inside the LayerListView.js
Thanks Robert,
Fixed it with the "IF" Statement, didn't work earlier because I missed the structure of the syntax......
Appreciate your help
Baba