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 [2010/09/08 02:43] stephen |
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 104: | Line 104: | ||
|ajaxEditOptions|This option allow to set global ajax settings for the form 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| | |ajaxEditOptions|This option allow to set global ajax settings for the form 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| | ||
|viewPagerButtons| This option enable or disable the appearing of the previous and next buttons (pager buttons) in the form |true| | |viewPagerButtons| This option enable or disable the appearing of the previous and next buttons (pager buttons) in the form |true| | ||
+ | |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 === | ||
Line 158: | 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 262: | Line 263: | ||
|labelswidth|Since we construct the view with table element it is difficult to calculate, in this case, how much width is needed for the labels. Depending on the needs this value can be increased or decreased|30%| | |labelswidth|Since we construct the view with table element it is difficult to calculate, in this case, how much width is needed for the labels. Depending on the needs this value can be increased or decreased|30%| | ||
|viewPagerButtons| This option enable or disable the appearing of the previous and next buttons (pager buttons) in the form |true| | |viewPagerButtons| This option enable or disable the appearing of the previous and next buttons (pager buttons) in the form |true| | ||
+ | |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 === | ||
Line 337: | 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 === | ||