I have a custom attribute which checks is user i Authenticated and if it is not in such case special json string will be returned. So i need to check for that string in data which will returned from controller after jQGrid request. How can i do that in jQGrid?
So as i understand i need to get actual response data and check is it contains only my string.
Another words i need to get server response data, but i not sure how and on which event i may do that and is it possible at all.
Otherwise if it is not possible i need to call the controller before jJGrid do that to check for that value.
You can place additional information (like the information whether the user is authenticated) in the
userdatapart of the JSON response. Inside ofloadCompleteevent handler you can useuserDatajqGrid parameter. See the answer and probably this one.