Home › Forums › Guriddo jqGrid JS › Help › Inline Editing editRow aftersavefunc not firing
Hello,
I have searched the Help forum without an answer I can copy/deduce from. I want to
capture what is returned from the editurl POST. I have the following:
onSelectRow:
It is a long story to explain – short maybe it should be fixed.
1. in successfunc is passed the response – so you should response.responseXML (in your case)
2. in aftersavefunc is passed response.responseText
The fix should pass the response on both events.
Regards
Tony
Hi Tony,
Thanks for the help. Just to complete the thread.
Using successfunc (in my case called 'refresh') with what you said
reads something like
function refresh(response)
{
var xml = response.responseXML.documentElement;
alert(xml.getElementsByTagName(“errorcnt”)[0].firstChild.data):
}
gives me the number inside 12.
12.
Thanks,
Fixed. Regards
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS