autoToggle: false //whether to automatically collapse when turned off, and expand when turn on for groups layers. default true.
in the TOC layer's code. However, in my application, this function does work.
Besides, how to set the layer as checked-off initially in the TOC?
Thanks if you can help.