Hi,
So, within my store after loading I want to get the 567 data out. I can just get the raw data out, what am I doing wrong?
And that gives me :
I just want the 567 as a result?
Beginners problem!
I have just created a simple store and a model that fetches a simpe JSON object.
So, within my store after loading I want to get the 567 data out. I can just get the raw data out, what am I doing wrong?
Code:
load:function(s,result,success,op){
console.info(result[0].raw);
}
And that gives me :
Code:
Object {items: "567"}
I just want the 567 as a result?
Best regards, Joakim
Beginners problem!
Aucun commentaire:
Enregistrer un commentaire