How do you modify the data returned from an AJAX call before it is rendered in the jqGrid?

Posted by GiddyUpHorsey on Stack Overflow See other posts from Stack Overflow or by GiddyUpHorsey
Published on 2011-06-24T03:25:11Z Indexed on 2011/06/27 0:22 UTC
Read the original article Hit count: 201

Filed under:
|
|

I'm trying to modify the data returned from an AJAX call before jqGrid 3.7.2 renders it. I've tried hooking into the loadComplete event but when I modify the data it appears to be after it has already rendered.

I've also tried hooking into the success event on the ajaxGridOptions field of options but that seems to totally override the event and jqGrid doesn't render the data.

How can I modify the data returned from a web service call before jqGrid renders it?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about AJAX