Jump to second MATE table after saving first

Discuss MySQL Ajax Table Editor Paid Version

Jump to second MATE table after saving first

Postby czoch » Sun Feb 05, 2012 8:25 pm

Hello!

I have an application where I want to advance to a second page automatically after saving information in the first page. Each page refers to a different MATE table. When I edit a row in the first table and save it, I want to be able to jump automatically to the edit view of the second MATE table.

I am already calling an afterEditFun that updates some additional information in my database and in that routine I have the code

$this->Editor->retArr[] = array('where' => 'javascript', 'value' => 'toAjaxTableEditor(\'edit_row\',\'' . $id . '\',{updateHistory: true});');
echo $this->Editor->jsonEncode($this->Editor->retArr);

which gets me back to the edit view of the first table. How can I tell the table editor that I want to go to a different table instead of the one I am currently using?

Thanks in advance!

C Zoch
czoch
 
Posts: 15
Joined: Wed Aug 03, 2011 3:55 pm

Re: Jump to second MATE table after saving first

Postby czoch » Tue Feb 07, 2012 11:23 pm

Please ignore. I have figured it out.

Thanks!
czoch
 
Posts: 15
Joined: Wed Aug 03, 2011 3:55 pm


Return to Paid Version

Who is online

Users browsing this forum: No registered users and 3 guests

cron