Hello,
is possible to redirect all save actions to my own different file?
Thanks for reply.
1 Answers
We don't have any working demo of it, but if you change editurl property, the ajax call of edit will post data to your url.
On your page, you can print_r() the $_GET, $_POST and perform your desired working.
e.g.
$opt["editurl"] = "http://……………";
$g->set_options($opt);
I have made the suggested change (code shown below), but my file is never called. Any suggestions? Thanks
$grid = new jqgrid($db_conf);
$opt = array();
$opt[“caption”] = “Sponsors”;
$opt[“toolbar”] = “top”;
$opt[“height”] = “”;
$opt[“autowidth”] = true; // expand grid to screen width
$opt[“editurl”] = “save_sponsor.php”;
$grid->set_options($opt);
Your Answer