Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:form_editing [2011/03/20 22:05] olegk |
wiki:form_editing [2011/03/28 16:54] dan.baughman_gmail.com Was missing a single quote after "editGridRow" on the example of the new call to addd a row |
||
---|---|---|---|
Line 159: | Line 159: | ||
or with the new API | or with the new API | ||
<code javascript> | <code javascript> | ||
- | jQuery("#grid_id").jqGrid('editGridRow, "new", properties ); | + | jQuery("#grid_id").jqGrid('editGridRow', "new", properties ); |
</code> | </code> | ||
Line 333: | Line 333: | ||
|mtype|Defines the type of request to make ("POST" or "GET") when data is sent to the server|POST| | |mtype|Defines the type of request to make ("POST" or "GET") when data is sent to the server|POST| | ||
|delData|an array used to add content to the data posted to the server|empty| | |delData|an array used to add content to the data posted to the server|empty| | ||
- | |zIndex|The starting z-index for the dialog. If you will see the dialog form under another elements or dialogs you should use the parameter with some value higher as default value 950. In the most cases it should be the value higher as 1000 - the default value of jQuery UI dialog.|950| | ||
|jqModal|If set to true uses jqModal plugin (if present) to creat the dialogs. If set to true and the plugin is not present jqGrid uses its internal function to create dialog|true| | |jqModal|If set to true uses jqModal plugin (if present) to creat the dialogs. If set to true and the plugin is not present jqGrid uses its internal function to create dialog|true| | ||
|delicon| array. Determines the icon of the submit button. The default value is [true,"left","ui-icon-delete"]. The first item enables/disables the icon. The second item tells where to put the icon to left or to right of the text. The third item corresponds to valid ui icon from theme roller | | | |delicon| array. Determines the icon of the submit button. The default value is [true,"left","ui-icon-delete"]. The first item enables/disables the icon. The second item tells where to put the icon to left or to right of the text. The third item corresponds to valid ui icon from theme roller | | | ||
Line 340: | Line 339: | ||
|closeOnEscape|When set to true the modal window can be closed with ESC key from the user.|false| | |closeOnEscape|When set to true the modal window can be closed with ESC key from the user.|false| | ||
|ajaxDelOptions|This option allow to set global ajax settings for the form editiing when we delete 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| | |ajaxDelOptions|This option allow to set global ajax settings for the form editiing when we delete 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| | ||
+ | |zIndex|The starting z-index for the dialog. If you will see the dialog form under another elements or dialogs you should use the parameter with some value higher as default value 950. In the most cases it should be the value higher as 1000 - the default value of jQuery UI dialog.|950| | ||
=== Events === | === Events === | ||