This topic is locked
[SOLVED]

 refresh List page after Inline Edit

8/25/2014 10:43:46 AM
PHPRunner General questions
G
gudon author

I have tried this code according to the manual from here.
Javascript OnLoad event of List page.

this.on('afterInlineEdit', function( fieldsData ) {
location.reload();
} )


The code works when I have less than 10 selected records for inline editing. If I do more records at a time, I encounter data loss (edits are not saved).
Does anyone have a solution for this?

Sergey Kornilov admin 8/26/2014

This code is designed to refresh page after each inline edit. If you open multiple records for editing make sure you use 'Save all' button to save them all.

G
gudon author 8/26/2014

Of course, I always click "Save all" button to save multiple records being edited inline. The problem happens when I have more than 10 records open for inline editing on the list page. I have uploaded my application to the demo account. Thanks.

P
procheck 8/31/2014

Try this in AfterEdit
?>

<script>

parent.location.reload();

</script>

<?php
Here's a link you can also check
Refresh page after Inline Edit