Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reload single jqGrid row?

How can you reload a SINGLE jqGrid row?

We know how to reload the entire grid - but we just want to update a single row when we know that the data in the row has changed.

like image 288
Marcus Leon Avatar asked Sep 24 '10 11:09

Marcus Leon


1 Answers

If you hold the data on the server and your server support filtering of data (single of advance searching) then you can use the same url which you use in jqGrid for your manual jQuery.ajax calling. You should set only the filter to id equal to the row which you need to refresh. On successful response from the server you can use setRowData or delRowData to update the row contain or to delete the row.

like image 157
Oleg Avatar answered Oct 12 '22 22:10

Oleg