Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:cell_editing [2011/08/31 21:44]
kees
wiki:cell_editing [2017/12/12 17:18] (current)
admin
Line 1: Line 1:
-~~ODT~~ 
 ====== Cell Editing ====== ====== Cell Editing ======
 Cell editing provides the frontend user with functionality to change the contents of one single cell from a row and then the developer has the abbility to handle the changed data by AJAX or in a jqGrid cell edit event (see below). ​ Cell editing provides the frontend user with functionality to change the contents of one single cell from a row and then the developer has the abbility to handle the changed data by AJAX or in a jqGrid cell edit event (see below). ​
Line 25: Line 24:
 |cellurl|string|the url where the cell is to be saved. You need to set this only when you use cellsubmit as '​remote'​.|null| |cellurl|string|the url where the cell is to be saved. You need to set this only when you use cellsubmit as '​remote'​.|null|
 |ajaxCellOptions|object|This option allow to set global ajax settings for the cell editiing when we save the data to the server. Note that with this option is possible to overwrite all current ajax setting in the save request including the complete event.|empty object| |ajaxCellOptions|object|This option allow to set global ajax settings for the cell editiing when we save the data to the server. Note that with this option is possible to overwrite all current ajax setting in the save request including the complete event.|empty object|
 +
 +==== Examples ====
 +
 +When using the '​remote'​ setting you could add these lines to your grid configuration:​
 +
 +<code javascript>​
 +{
 + '​cellEdit'​ : true,
 + '​cellsubmit'​ : '​remote',​
 + '​cellurl'​ : '/​url/​to/​handling/​the/​changed/​cell/​value'​
 +}
 +</​code>​
 +
 +When your are using '​clientArray'​ as cellsubmit setting, only these settings are important:
 +
 +<code javascript>​
 +{
 + '​cellEdit'​ : true,
 + '​cellsubmit'​ : '​remote'​
 +}
 +</​code>​
  
 ===== Events ===== ===== Events =====

QR Code
QR Code wiki:cell_editing (generated for current page)