I'm using D2 with tab layout
Node-Red v4.0.9
D2 v1.21.0
I want to click on a table row and switch to a new tab passing the row info to a control on that tab
I used to be able to use link out and link in nodes to accomplish this on Dashboard 1 but while the data is passed to the tab on D2, I have to click on the tab to see it. Is this different behaviour on D2 or due to tab layout. Can I switch to the tab using code?
Send a msg.payload to the ui-control with the tab/page name (page and tab are the same in D2, use them interchangeably)
msg.payload = '<Page Name>'
// Object
msg.payload = {
page: '<Page Name>',
}```
Hint: When loading content to a widget on a different tab.page, you may need to add a delay so the data gets there after the new tab/page loads. I've run into this almost every time, especially when the group or tab I'm sending data to was hidden and then unhidden just before loading (think dialog groups)