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 Both sides next revision
wiki:cell_editing [2011/08/31 21:12]
kees
wiki:cell_editing [2011/08/31 21:18]
kees
Line 22: Line 22:
 ^Property^Type^Description^Default^ ^Property^Type^Description^Default^
 |cellEdit|boolean|Enables (disables) cell editing. When this option is set to true, onSelectRow event can not be used, and hovering is disabled (when mouseover on the rows).|false| |cellEdit|boolean|Enables (disables) cell editing. When this option is set to true, onSelectRow event can not be used, and hovering is disabled (when mouseover on the rows).|false|
-|cellsubmit|string|Determines where the contents of the cell are saved - can have two values: '​remote'​ or '​clientArray'​. \\ If //remote// the content is immediately saved to the server using the cellurl property, via ajax. 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. \\ If '​clientArray',​ no ajax request is made and the content of the changed cell can be obtained via the method getChangedCells |remote| +|cellsubmit|string|Determines where the contents of the cell are saved - can have two values: '​remote'​ or '​clientArray'​. \\ If //remote// the content ​of the cell if anything is changed ​is immediately saved to the server using the cellurl property, via ajax. The rowid and the cell content are added to the url by default. If you have the "​mtype"​ setting set to post, the key value pears will be send as post variables. For example, if we save the cell named mycell,{id: rowid, mycell: cellvalue} is added to the url. \\ If cellsubmit is '​clientArray',​ no ajax request is made and the content of the changed cell can be obtained via the method getChangedCells ​or thru a event. ​|remote| 
-|cellurl|string|the url where the cell is to be saved|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|
  

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