Hi,
I am using ESRI's Legend with template for my TOC, but by default, the most levels of the tree nodes are expended. Is there a easy way that I can collapse these nodes at the initialization phase?
Also in the Legend, in one of our dynamic map service, we want to change the map service URL to another service if the user click a button. The legend refreshes automatically, however, the on/off check boxes are kind been changed from the initial service settings (e.g., some check boxes, which should be unchecked by default, are checked, and vice versa). Is there a way that I can fix it?
Any help is welcome.
Wei