Firstly my code:
server side:
//$res is made into a valid connection above
$gridConn = new GridConnector($res,“MsSQL”);
$gridConn->set_encoding("iso-8859-1");
$gridConn->enable_log("log.txt");
LogMaster::log(print_r($_POST,1));
LogMaster::log("SElect mode: " . $gridConn->is_select_mode());
$gridConn->render_table("ExtTypes", "ExtType", "ExtType,Description,Rate");
Client side:
//grid details here
url = “…/controllers/ajax_view_declined.php” ;
mygrid.init()
mygrid.load(url);
var dp = new dataProcessor(url);
dp.init(mygrid);
The table loads fine. But when I try to update the dataprocessor debugger never sends the edit request correctly (and the server simply returns the full recordset, and LOGS
“SELECT ExtType,ExtType,Description,Rate FROM ExtTypes
Done in 0.023979187011719s”
The connector is only sending these post parameters (trying IE and FFox):
Server url: test.php parameters
gr_id = 3
c0 = 3
c1 = Legalt
c2 = 1
c3 =
c4 =
!nativeeditor_status = updated
[Wasted about 4 hours on this now]
Thanks!