Why do you need to click outside of the cell in a Retool table for the changesetArray to update?

  • Goal: Save cell content in a table without need to click outside of the table to save it.

  • Steps: Hi everyone,

I'm working on a table with editable cells, and it works almost correctly, but I found a small inconvenience.

  • Details: The issue occurs when I edit a cell and immediately go to the save button, which executes a custom upsert query:

{{ pedidos.changesetArray.map(p => (
{
order_id: p.id,
code: p.factura,
import: p.importe_factura
}
)) }}
It doesn't work because the changeset doesn't seem to update its state until I click somewhere else inside the table. Is there a way to make the table update its state without having to click outside of the table?Why do you need to click outside of the cell in a Retool table for the changesetArray to update?

  • Screenshots:
    image

Not sure if it's related, but connecting it to this bug in case they are In table component Save/Cancel popup not shown after updating editable cell - #4 by Paulo

1 Like

Hi @nestor_martinez, I added your feedback to the internal bug report. Unfortunately, I haven't been able to find a workaround for this besides training end-users to press 'tab' or 'enter' after updating a cell.

Hi, I click outside of the table to change changesetArray, it's workaround that I'm using right now

1 Like