View Full Version : parse data prior to data store?

4 Apr 2007, 8:39 AM
I have a grid that loads data (json) from a php script. If credentials fail the script returns an error message of sorts. Otherwise, data is sent and the grid loads up fine.

I would like to check the response for an error message and perform an alternative action if one exists. What is the best way to do this?


EDIT: loadexception seems to do the job