Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I think your main problem will be solved if you would use <a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing#properties" rel="nofollow noreferrer">recreateForm: true</a> options of the form editing (see <a href="https://stackoverflow.com/questions/6971453/how-to-add-different-texts-to-save-button-in-edit-and-add-forms-in-jqgrid/6971820#6971820">here</a> an example of the usage). I recommend you to set the setting as the default <em>before</em> you call <code>navGrid</code> (see <a href="https://stackoverflow.com/a/5032879/315935">here</a> the corresponding code).</p> <p>Moreover from the information which you wrote in comments I think that you should better use <code>dataUrl</code> instead of <code>value</code> of the <a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:common_rules#editoptions" rel="nofollow noreferrer">editoptions</a>. So jqGrid can loads the list of the values directly from the server during creating of the edit form. Sometimes the usage of <code>buildSelect</code> is useful. It help you to provide the data from the server in for example JSON format and construct the <code>&lt;select&gt;&lt;option value="..."&gt;...&lt;/option&gt;...&lt;/select&gt;</code> HTML fragment based on the server data inside of <code>buildSelect</code>. Additionally it could be required to set <code>ajaxSelectOptions: { cache: false }</code> jqGrid option (see <a href="https://stackoverflow.com/a/7422410/315935">here</a> or <a href="https://stackoverflow.com/a/9615295/315935">here</a>) or to force re-validation of the previous server response on the <code>dataUrl</code> with respect of HTTP header <code>"Cache-Control: private, max-age=0"</code> (see <a href="https://stackoverflow.com/a/3885956/315935">here</a> and <a href="https://stackoverflow.com/a/9269567/315935">here</a>)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload