I have a master table with several child tables configured to display inline list preview. When I edit one of the child table records, after pressing save in the popup, the field data updates OK in the list but items like background colour and hide/unhide of view_grid and edit_grid icons are NOT updated. The whole page needs to be reloaded which causes the inline list view to collapse and you have to re-open it manually to display the results of the update (on the child table inline list view). I have tried the code snippets here https://xlinesoft.com/phprunner/docs/refreshing_the_list_page_after_editing_in_a_popup.htm - the first option collapses the inline list view (since it reloads the page) but the second option results in server errors.
I should also clarify that the child table is NOT configured to edit in a popup but PHPR puts it in a popup because the list is being displayed inline as preview.
1) I want to know if it is possible to leave the child preview list view expanded and updated with new background row colours etc after edit.
2) Another option would be to re-expand the child table list preview automatically under the previous master record that had been expanded prior to doing the edit on one of the child records.
(all a bit tricky to explain in text I'm afraid)
NOTE: Probably the best workaround I have found for this situation is on the Designer tab for master table list view - on the details link (under the data fields row) check the check box for "preview in popup" - instead of inline the preview is in a popup and so if you want to edit any child records you have to click on the preview which takes you to the full list page for the child table where edit is handled on a separate page and the list is updated nicely after saving the edit. (I had not tried this before because the popup option is disabled on the Table link properties popup back on the Tables tab when you have "show single link for all details" option selected.
I should also clarify that the child table is NOT configured to edit in a popup but PHPR puts it in a popup because the list is being displayed inline as preview.
1) I want to know if it is possible to leave the child preview list view expanded and updated with new background row colours etc after edit.
2) Another option would be to re-expand the child table list preview automatically under the previous master record that had been expanded prior to doing the edit on one of the child records.
(all a bit tricky to explain in text I'm afraid)
NOTE: Probably the best workaround I have found for this situation is on the Designer tab for master table list view - on the details link (under the data fields row) check the check box for "preview in popup" - instead of inline the preview is in a popup and so if you want to edit any child records you have to click on the preview which takes you to the full list page for the child table where edit is handled on a separate page and the list is updated nicely after saving the edit. (I had not tried this before because the popup option is disabled on the Table link properties popup back on the Tables tab when you have "show single link for all details" option selected.