Hi all,
I’m currently building a SaaS-like layer on top of an existing service using WeWeb, and I’ve run into a challenge with input fields inside a Data Grid.
The situation:
I have a Data Grid that displays rows from my database. Inside the grid, I place input fields (text / number inputs) so users can edit values directly per row.
The inputs render correctly, but I’m struggling to retrieve and use those input values to update the underlying database record for the correct row.
On top of that, some columns in my database are formula-based (calculated fields). After updating an input value, I’d like the same row to immediately reflect the recalculated values coming from the database.
What I’m trying to achieve:
-
- Inline editing of records inside a Data Grid
- Each row updates its corresponding database record
- The updated (calculated) values are immediately (after refresh) visible in the same row
- A clean, scalable approach suitable for a kindalike SaaS environment
My questions:
-
What is the recommended way to bind input fields inside a Data Grid to row data?
-
How do you correctly reference input values per row when triggering an update?
-
Are there any known patterns, limitations, or “gotchas” when doing inline editing in grids?
If anyone has tips, tricks, or example setups, I’d really appreciate it.
Happy to clarify further or share screenshots if helpful.
Thanks in advance ![]()
— Mitchell
