How To? Return JavaScript variable from clientside_callback in dcc.Store element

This can be achieved with using EventListener from dash_extensions in combination with CustomEvent in your make_draggable function (see Ordering children with drag & drop, how to trigger “dash component has changed” from JS - Dash Python - Plotly Community Forum).

This way you can pass the order_ids in the custom event and work with it further in a normal callback.

1 Like