Table does not show child records on Save/Query

edited October 15, 2019 in Questions
I have a table that shows records, with child records showing in the last column of the table.  I have a pop-up that is used to add a new record and child records to the table.  The "save" button on my pop-up saves the parent and child records and then queries the parent and closes the pop-up.  I would expect that querying the parent would cause the new child records to show in the table, but instead, the new parent records shows without any child records.  I have to refresh the page before they show.  Any ideas about how I can get them to show immediately?


  • Jared JonesJared Jones ✭✭✭✭
    edited July 18, 2018
    You mention that after the save, you are querying the model for the parent, but not the child records.  Add the model for the child records to be queried after the save as well.
  • edited February 15, 2017
    Hi Jared,

    I don't have a separate model for the child records - they are queried as part of the parent model.  (I do have a model for the child records in my pop-up, but the model for the parent/child records in the underlying table is separate.)
  • edited October 15, 2019
    There are two types of queries a replace data and an add data. Try the other type of query. Not sure if this will help.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!