Check the “mtype” property…
I guess it is not needed…
Just point JqGrid to your servlet and your are done…
You can use the beforeSubmit event to do that. For example:
In your case you have to use a custom button to implement your won editing form
There is a two properties for do that
I think there is not a function for that but I think you can add a OnChange or ObBlur to your textbox and make the trick
Check your response to jqgrid, what about your total pages, current page values and so on…
Check your js path…
Which are the issues ?
1) Not sure if I understand what you mean but If you mean have not search option put this option in false in the “standard”
I use this format to send a response (I use json):
{ status:boolean_value, message:”Your message_here”}
For example:
{ status:true, message:”Your data was updated OK”}
In my javascript I do:
It could be something like:
{
So you have tow urls chained to this grid…
I think you can still use the code I show (beforeSubmit event).
In this method you could see :
var sr = jQuery(”#list”).getGridParam('selrow');
var rowData = jQuery(”#list”).getRowData(sr);
The first line take the current row selected and the second one get the data in this row. Now you can access any value in the row doing something like:
alert(rowData['id']);
Also there is a postData array that you can manipulta using the setPostData() and appendPostData() methods…
It is not needed to add the “mode” to your url because jqGrid does for you and pass “del” in the “oper” variable.
You can add any kind of information to your delete url using the delData array. This the code for my delete option:
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top