Web AppBuilder 2.21 Developer Edition
I'm trying to refresh the labels for a specific layer in the layer list widget. The new labels are dependent of the map view and are recreated at every update-end event for the respective layer.
I can refresh the labels in the layer list widget using the _refresh() method but it collapses the legend for the layer. How can I expand the legend after the _refresh()?
Or, if anyone has a better solution, I'm all ears. Thanks.