Return Pages After Grid-Add and After Grid-Edit

PHPMaker v2026.8.

This is setup for orderdetails table in demo2026 project:

Also, I put this code in Table_Load server event of that table:

$this->UseAjaxActions = true; // Use Ajax Actions for the table

However, after Grid-Add, it did not redirect to Grid-Add.

Also, after Grid-Edit, it did not redirect back to Grid-Edit.

However, if I remove that code in Table_Load server event above, then it works.

The question is, can I still use the code in that server event, and also the redirect for both mode above works?