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!
Solved! Go to Solution.
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);
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!!