I am using the tabs market place component.
in tab 1 I have a marketplace datagrid
when a row (of the datagrid) is selected I get the value in that row (only one column and only one row selectable so just pull the first item off the list and get the value this seems to be working as tested in print )
on tab2 I have an input field and value logic set to “conf_filter_trace_ename”
on tab1 when a row is selected I set conf_filter_trace_ename in pagedata to populate that field, but when I click on tab2 the input field is blank
Hi. Can you please provide the appId, container, and page name where we could check the issue, or a minimal reproducible example if the current logic requires login or affect prod data?
Ok that worked. so for my understanding I can’t update a block on a non selected tab correct? this means I need to store data and pull the data when the tab becomes selected. (which seems to be acting like “at page entry” )
If you do directly what I offer before - it works pretty same as data binding. We just change the shortcut to the handler.
so for my understanding I can’t update a block on a non selected tab correct?
When the tab is not selected - you can’t update the block because it’s not on the scene. You must update data, and when the block is shown he will get updated data at the render phase.
so if I use databinding (value) to a property in pagedata and I set that value why doesn’t the tab read the value from the databinding when it renders the tab?
I may not be wording the question very well, but if I can add logic that says value = get property of blah from pagedata (which doe work) why does the databinding not work in this situation ?
The reason of it shown in the picture that I share before
When your block is located inside of another data container but not directly in the page scope, binding starts working with their data models. To prevent it, and work again with Page Data we use handlers.