Table Add New not working if table has no .data

I have a table/subtable relationship in my app. I download all subtable records at app start and use a JSON SQL query to filter the subtable to related records.

When I add a new record to the table there will not be any related records in the subtable yet and I want to add some. But if there aren't any there yet, no dice. If I am adding a subtable record to where there already is at least one, then it works fine.

I tried using a filter instead to "empty" the table and added a record and that also works fine.

So it seems that if the .data property is empty, even if all of the .columns are properly configured, add new breaks.

Thanks for flagging this behavior, @bradlymathews I see what you mean. I will create an internal bug report for this 🙂

1 Like