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

1192
1
Jump to solution
04-18-2021 10:24 PM
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 Solution

Accepted Solutions
UndralBatsukh
Esri Regular Contributor

Hi there, 

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

-Undral

View solution in original post

1 Reply
UndralBatsukh
Esri Regular Contributor

Hi there, 

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

-Undral