I am new to jquid and can not understand how to add a default button in the eddy part of the grid .
Therefore there is a grid with rows in which the columns are: "medicine, date, name and dosage for grid" when they press the Add Medicine button below, then adding the drug by adding three textfields in it, so that They can add this information. What I want to do, it does that when they press "Enter" on this dialogue, then this medicine adds so that in the dialog press the app button, not
I do not even know where to place it in the jackgrid code, which is huge, so I do not know which code to post, if someone tells me to post it to me I need to do so, so I can post the code.
$ ("# list" ). JqGrid ('Navigridge') "Text"> Parameter Add / Edit Form will solve your problem.
For example,
$ ("# list"). ',' # Pager ', {/ * navGrid option *}, {savekey: [true, 13]}, // editing option {savekey: [true, 13]}); // Add option Because you probably want the settings in all the grids, you can choose to change the default option of jqGrid for the Add / Edit dialog to a location: < / P>
jQuery.extend (jQuery.jgrid.edit, {recreateForm: true, jqModal: false, reloadAfterSubmit: false, savekey: [true, 13], closeOnEscape: true, closeAfterAdd: true. .});
Comments
Post a Comment