Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
wiki:cell_editing [2011/08/31 21:44]
kees
wiki:cell_editing [2011/08/31 21:48]
kees
Line 25: Line 25:
 |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)