Hi Tony,
one more small but useful suggestion… Can you pass the xhr as a parameter to the loadComplete event (which currently gets no parameters at all)? The reason: sometimes the server request returns invalid data, eg due to MySQL error. On the server-side, I can capture this error and return an information as JSON, eg { error: 'MySQL error description', erroNo: 1105, query: 'SELECT …' }. And in loadComplete, I can analyze the returned JSON and if I get an error, I will display it on my page in a way I wish.
Currently in such situation the grid just gets empty and I see no way how can I capture this event and notify a user.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top