Hello,
I am following online sample 'Legend' to create my TOC.The problem is when my apps loads, all map service nodes in the Legend tree structure are in expanded state by default.
I went throguh the another sample Legend with Templates which shows one map service as collapsed and other as expanded.But, I am not being able to figure out, what has to be to do this? I want my all map service nodes in collapsed form by default.
Can anybody please help me on this? Help would be appreciated.