Page 1 of 1

Jump to second MATE table after saving first

PostPosted: Sun Feb 05, 2012 8:25 pm
by czoch
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

Re: Jump to second MATE table after saving first

PostPosted: Tue Feb 07, 2012 11:23 pm
by czoch
Please ignore. I have figured it out.

Thanks!