I get a JSON response from the server that I have full access to using loadComplete. Is it possible to be able to access the JSON response using
onSelectRow?- any other custom function defined outside of
loadComplete?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can define a variable which will hold the last state of the JSON response returned from the server:
If you have JSON data for example from the form
then you can save in
serverDatanot the data directly. It could be interesting to save onlycellpart and save it as the value of theserverData[id]:If you use
repeatitems: falsesetting in thejsonReaderthen you can save in theserverDataonly the part of the items (selected properties) which represented the row of the server data.In any way you should save the part of the information from
dataparameter ofloadCompletein some variable defined outside of theloadComplete.