how to swap layers in layer list panel using drag and drop in arcgis js 4.17

256
1
4 weeks ago
RitikaManderwal
New Contributor III

i have added layers in a layer list panel.

i want to give user option to position these layers using drag and drop.

anyway to do that.

Tags (2)
0 Kudos
1 Reply
UndralBatsukh
Esri Regular Contributor

Hi there, 

You can just set the selectionEnabled property of the LayerList to true. 

-Undral

0 Kudos