I'm looking for a way to expand all layers and sublayers automatically (so that symbology can be seen also) from within the LayerList widget v2.1. Any assistance would be greatly appreciated!
Jason,
In the widgets/LayerList/LayerListView.js find line 203 - 211 and change it to this:
//bind event this.own(on(layerTitleTdNode, 'click', lang.hitch(this, this._onRowTrClick, layerInfo, imageShowLegendDiv, layerTrNode, tableNode))); setTimeout(lang.hitch(this, this._onRowTrClick, layerInfo, imageShowLegendDiv, layerTrNode, tableNode), 300);
As always you are spot on, thanks very much!!
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.