Robert,
Hello. New poster here, please bear with me...
I am using Flexviewer 2.4. When I toggle the TOC, the TOC seems to be exhbiting random behavior in that sometimes the layers are fully collapsed to the top-most level or (in other cases) the layer is expanded to other level or levels.
I would like to show all levels fully collapsed to the the top-most level. I tried to create the service for each layer with the Arcmap layers fully collapsed and unselected, but that did nothing.
I also set the <collapselegends> tag in the TOC widget to "true", but this did nothing.
How do I achieve this layout of the TOC so that each layer is collapsed? Is this a setting in the mxml for the TOC that I need to modify through code?
Also, how does one load the TOC such that the initial extent (length, width) of the TOC cleanly displays all of the layers?
Many thanks in advance for any advice that you can supply.
-Kevin