Hi!
I’m using grid with dataprocessor:
companiesDP = new dataProcessor(“company_grid_save_data.php”);
companiesDP.setTransactionMode(“POST”,true);
companiesDP.setUpdateMode(“off”);
companiesDP.init(companiesGrid);
When I call companiesDP.sendData() then DataProcessor call the given php but witout any paramater. DataProcessor debugger show as though it pass the gr_id and all the columns values of the grid but doesn1t working. If I changed the php as follows:
$rowId = $_GET[“gr_id”];
$newId = $_POST[“gr_id”];
$action = “Ok”;
header(“Content-type: text/xml”);
echo(‘<?xml version="1.0" encoding="utf-8"?>’);
echo “”;
echo “”;
echo “”;
the server response is:
<?xml version="1.0" encoding="utf-8"?>So how can I get the parameter values in the PHP file? What am I doing wrong?
Thx in advance!