# Override a widgets default container (Div) and "plug" it into a specified Div

**URL:** https://discourse.nodered.org/t/override-a-widgets-default-container-div-and-plug-it-into-a-specified-div/90343
**Category:** Dashboard
**Tags:** dashboard-2
**Created:** [22 August 2024 14:18 UTC](https://discourse.nodered.org/t/override-a-widgets-default-container-div-and-plug-it-into-a-specified-div/90343 "2024-08-22T14:18:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![omrid](https://avatars.discourse-cdn.com/v4/letter/o/77aa72/32.png) [@omrid](https://discourse.nodered.org/u/omrid)
#### Post date: [22 August 2024 14:18 UTC](https://discourse.nodered.org/t/override-a-widgets-default-container-div-and-plug-it-into-a-specified-div/90343/1 "2024-08-22T14:18:46Z")

</div>

> [@Template node with size=zero](https://discourse.nodered.org/t/template-node-with-size-zero/90305/2):
>
> Try setting the class to `d-none`

Thanks @Steve-Mcl, this seems to have solved the issue!

Maybe you (and/or @joepavitt) can advise me on something else: I just added a new feature to my dash-2.0 table node (`@omrid01/node-red-dashboard-2-table-tabulator`) allowing to override its default container (Div) and "plug" it into a specified Div in another UI form. This way I am not limited to the side-by-side layout arrangement, and can also manipulate it in runtime (show/hide etc.)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/0/d01422550a0c5af5960906f70e44b685739fbc92.png)

So I am practically going behind the back of the dashboard. Do you see any issue or risk with this approach?

---

<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: [25 August 2024 07:03 UTC](https://discourse.nodered.org/t/override-a-widgets-default-container-div-and-plug-it-into-a-specified-div/90343/2 "2024-08-25T07:03:56Z")

</div>

> [@omrid](#):
>
> So I am practically going behind the back of the dashboard. Do you see any issue or risk with this approach?

Not at all, I try not to think of anything as "going behind the back of Dashboard" - if it works, and it does what you need - crack on!

---

<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: [24 September 2024 07:04 UTC](https://discourse.nodered.org/t/override-a-widgets-default-container-div-and-plug-it-into-a-specified-div/90343/3 "2024-09-24T07:04:29Z")

</div>

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