C
|
cristi 4/27/2020 |
You can do it in "after record processed" with php simulating a page refresh: echo '<script>window.parent.location="YOURTABLENAME_list.php?a=return"</script>';
|
A
|
AlphaBase author 4/27/2020 |
cristi, that doesn't work. It just causes the page to hang. |
C
|
cristi 4/27/2020 |
Strange...the php refresh with echo works for me in my applications - did you write the YOURTABLENAME with your table name -not alias - exactly like in your browser address bar??? |
A
|
AlphaBase author 4/27/2020 |
The table name and alias are the same so no issue there. The edit occurs in a modal popup. But as soon as I load the page with the grid (it's a child grid in master-detail if that matters) it hangs. IF ($data["Priority"] == "High") { |
C
|
cristi 4/27/2020 |
The table name and alias are the same so no issue there. The edit occurs in a modal popup. But as soon as I load the page with the grid (it's a child grid in master-detail if that matters) it hangs. Here's the code: IF ($data["Priority"] == "High") {
echo '<script>window.parent.location="wo_task_list.php?a=return"</script>';
|
A
|
AlphaBase author 4/27/2020 |
Aahh.. that works, cristi. |
![]() |
Sergey Kornilov admin 4/27/2020 |
Just an example of changing the background of one of the records from Javascript. Maybe you can achieve what you looking for without refreshing the page. var allRecords = pageObj.getAllRecords(); |