Collapse all layers on a button click event in agsjs.dijit.TOC

2177
0
10-15-2015 11:34 PM
SmithaNivesh
New Contributor

I want to collapse and expand my TOC widget on a button click event? Is it possible with a single command or need to update collapsed attribute to true/false on each item in the layerInfo

Tags (1)
0 Kudos
0 Replies