# Dashboard 2.0 - Order of widgets from subflow?

**URL:** <https://discourse.nodered.org/t/dashboard-2-0-order-of-widgets-from-subflow/89217>\
**Category:** Dashboard\
**Tags:** subflow, dashboard-2\
**Created:** [3 July 2024 09:31 UTC](https://discourse.nodered.org/t/dashboard-2-0-order-of-widgets-from-subflow/89217 "2024-07-03T09:31:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![wangenkuesse](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wangenkuesse/32/93551_2.png) [@wangenkuesse](https://discourse.nodered.org/u/wangenkuesse)\
**Post date:** [3 July 2024 09:31 UTC](https://discourse.nodered.org/t/dashboard-2-0-order-of-widgets-from-subflow/89217/1 "2024-07-03T09:31:47Z")

</div>

How do I change the sequence/order of widgets from a subflow in the Dasboard 2.0? The group of the widgets in the subflow is set by env(group)...

Thank you for hints...

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [3 July 2024 15:15 UTC](https://discourse.nodered.org/t/dashboard-2-0-order-of-widgets-from-subflow/89217/2 "2024-07-03T15:15:22Z")

</div>

Hey @wangenkuesse - the best way to do this is to create the widget outside of the subflow _first_, order suing the Dashboard 2.0 sidebar, and _then_, move it into a subflow.

Currently, we aren't able to expose the `order` fields out of the subflow, and therefore allow control over the ordering once inside.

@Steve-Mcl may have other thoughts here, or ideas on how we could improve this?

---

<div class="post-metadata">

**Author:** ![wangenkuesse](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wangenkuesse/32/93551_2.png) [@wangenkuesse](https://discourse.nodered.org/u/wangenkuesse)\
**Post date:** [10 July 2024 09:27 UTC](https://discourse.nodered.org/t/dashboard-2-0-order-of-widgets-from-subflow/89217/3 "2024-07-10T09:27:02Z")

</div>

Thanks... I tried your solution a few times. It didn't solve the problem. When I create a subflow of a selection, the order changes...

I tried to export the subflow, change the "order" field by hand and reimport it. It does not what I have expected.  
How do i have do modify the order fields to get it in a desired sequence?

I was thinking about css and using "grid-order" as workaround, but some widgets do not have a "class"-field exposed...

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [11 July 2024 09:10 UTC](https://discourse.nodered.org/t/dashboard-2-0-order-of-widgets-from-subflow/89217/4 "2024-07-11T09:10:37Z")

</div>

Are you able to share a screen recording please? Subflows are still in [beta](https://dashboard.flowfuse.com/user/subflows.html#subflows-in-dashboard-2-0) for us, so we are aware of some limitations

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [13 August 2024 17:57 UTC](https://discourse.nodered.org/t/dashboard-2-0-order-of-widgets-from-subflow/89217/5 "2024-08-13T17:57:17Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [13 August 2024 17:57 UTC](https://discourse.nodered.org/t/dashboard-2-0-order-of-widgets-from-subflow/89217/6 "2024-08-13T17:57:42Z")

</div>

Moved to correct category.
