Referencing elements inside a table cell

Hi, is there a way to reference elements inside a table cell, from any other place than the cells on that row?

For example, I have an element ‘G-search user table’ inside a cell of the repeating row, and I cannot reference it from any other place that is not a or in a cell in that row, not even from the row itself, let alone from outside the table.

The element:

Trying to reference it from a cell in the same row (it shows):

Trying to reference it from the whole row (doesn’t show):

Trying to reference it from outside the table (doesn’t show):

The weird thing is that somehow I created a workflow ‘when element is clicked’ referencing this group from another cell in that row, and then changed the element clicked to be the whole row, and it worked but the issue checker started showing the issue ‘‘cannot reference that element in that workflow’’ (even though the workflow worked as intended!).

1 Like

If you are trying to assign user(s) to the current rows item, the below can work. If your objective is different please provide more information in terms of what you are trying to have as an outcome.

You can either add a “add button”, which will take the selected user(s) in the “G-search user table”, next to your remove button. Then the button’s workflow will assign user(s) in the list of the ones in your “G-search user table” to the item that has the same ID.

Alternatively, you can add a customs state that captures the ids of the user(s) in “G-search user table” and the id of the current row item. Then your “add button” can run a workflow using what has been added to the state from outside the table.

You can view this link as an example.

You can’t reference elements inside a certain table’s row from outside that row, just as with elements inside a RG cell. There is no way to tell Bubble which repeated element, among all those repeated in a table or RG, you are referring to.

Makes sense, the only issue is for example when I want to add a condition to an element outside the row or the row itself, that references an element inside a cell. I.E. if ‘element inside cell’ is visible, ‘element outside row’ isn’t clickable. I get that there would be problems as to which ‘element inside cell’ of which row we are referencing, but it could work for all of them, as in if in any row that element is visible, the condition is true.

Is it an option to place the element that is outside the table/RG inside each of the row/cell?

Otherwise you’ll need to comunicate those inner elements with the “outer world” in a fancier way

  1. Updating a custom state of the table/RG itself
  2. Trigering an API workflow

This topic was automatically closed after 70 days. New replies are no longer allowed.