How to get dhtmlXDataStore ajax response before loading it


I am trying to check a particular item in the json response from datastore url before it gets loaded into the store.
i am using following

var mystore = new dhtmlXDataStore({
url : …

i want to check the response data, that comes from the url before it gets loaded into store, how do i do that?

Thanks for any help.

You may try to load the data on the client-side using the dhtmlxAjax:
check it, and then populate it to the datastore using the parse() method: