Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:inline_editing [2013/01/28 18:45] mmalomo |
wiki:inline_editing [2017/12/12 17:19] (current) admin |
||
---|---|---|---|
Line 11: | Line 11: | ||
===== Software Requirement & Installation ===== | ===== Software Requirement & Installation ===== | ||
- | In order to use this functionality, make sure you put a check mark by the Inline Editing and Common modules when you downloaded jqGrid. For more information refer to [[Download]].\\ | + | In order to use this functionality, make sure you put a check mark by the Inline Editing and Common modules when you downloaded jqGrid. For more information refer to [[Download]].\\ |
Note to Developers - Source code can be found in the grid.inlinedit.js file, located in the src directory. | Note to Developers - Source code can be found in the grid.inlinedit.js file, located in the src directory. | ||
Line 27: | Line 27: | ||
These methods can be called, of course, only on an already-constructed grid, from a button click or from an event of the grid itself: | These methods can be called, of course, only on an already-constructed grid, from a button click or from an event of the grid itself: | ||
- | Exmaple: | + | Example: |
<code javascript> | <code javascript> | ||
Line 113: | Line 113: | ||
Calling convention: | Calling convention: | ||
<code javascript> | <code javascript> | ||
- | jQuery("#grid_id").saveRow(rowid, succesfunc, url, extraparam, aftersavefunc,errorfunc, afterrestorefunc); | + | jQuery("#grid_id").saveRow(rowid, successfunc, url, extraparam, aftersavefunc,errorfunc, afterrestorefunc); |
</code> | </code> | ||
or when we use the new API | or when we use the new API | ||
<code javascript> | <code javascript> | ||
- | jQuery("#grid_id").jqGrid('saveRow',rowid, succesfunc, url, extraparam, aftersavefunc,errorfunc, afterrestorefunc); | + | jQuery("#grid_id").jqGrid('saveRow',rowid, successfunc, url, extraparam, aftersavefunc,errorfunc, afterrestorefunc); |
</code> | </code> | ||