Hi Everybody,
I'm pretty new to jqGrid and I understand already lot of thinks. However I'm not able to pass
the data after a cellchange to my update php script.
View a few words:
1. I build the jqGrid with the option:
cellurl: 'se/ref_mgmnt_save.php',
I can see the grid with all data and when I click on a cell it becomes editable.
2. After pressing the Return-Key I want this data to be stored in the MySQL database:
$queryUpdate = "UPDATE table SET ".$celname."='".$value."' WHERE table_id='".$rowid."';";
Well, and this is my problem. The PHP-File “se/ref_mgmnt_save.php” is called but the data is not stored in the database because the PHP script doesn't know the celname (column name from grid), value (the new value in this column) and the rowid (the primary key).
The Wiki says (http://www.trirand.com/jqgridw…..ll_editing)
“The rowid and the cell content are added to the url as name:value pairs. For example, if we save the cell named mycell,{id: rowid, mycell: cellvalue} is added to the url.”
Sorry, but I don't have any idea what is ment by this and how I can refer to the data in my PHP-Script. I think without a hint from your site I'm totally lost 
More detailed – my Javascript file:
getColumnHeader is just a function to populate the jqgrid with all columns from the corresponding table. This works pretty fine.
function loadRefMgmnt(tableName){
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top