PDA

View Full Version : Store: Display an error message



scaron
20 Dec 2010, 11:36 AM
Hi everyone,

I search a way to display an error message if my store found nothing in the database but I don't know how?

Am I suppose to use this:

store.on("load", function(records, operation, success){

})

I "alert" the records but it always return [Object]. How can I get the data of the [Object].

Note that my record is an XML data with childNodes.

Thanks for your time on this,
Sebastien