-
28 Sep 2010 6:05 AM #1
Ed Spencer is totally responsible!!!
Ed Spencer is totally responsible!!!
Having trouble with getting my ajaxresponse into a store....
I have a XmlStore and do myXmlStore.loadData(response.responseText,false);
My error msg is:
Uncaught TypeError: Object < has no method 'join'
looking into where the error appeared in the sencha touch source this is what is stated there:
this is found at line 8363 of sencha touch v0.95 (debug-w-comments).Code://FIXME: this is not a good solution. Ed Spencer is totally responsible for this and should be forced to fix it immediately. for (var i = 0, length = records.length; i < length; i++) { records[i].needsAdd = false; records[i].join(this); }
The problem that I have now:
I have a variable with my ajax response. How can I get my response.responseText in my store?
Gr,
Nostromo
And someone call Ed Spencer!
-
28 Sep 2010 6:10 AM #2
loadData expects data in the form:
Code:[{ prop1: 'a', prop2: 'b' },{ prop1: 'c', prop2: 'd' }]Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
28 Sep 2010 6:21 AM #3
Thanks Evant for your fast reply!
How to get from an variable that contains my xml response to your data form?
Ext.data.XmlReader.read(); doesnt do much for me... or am I looking in the wrong direction?
Similar Threads
-
Display data before it is totally loaded
By DarkStarDS in forum Ext 3.x: Help & DiscussionReplies: 5Last Post: 23 Jul 2009, 3:45 AM -
[CLOSED] beta5 - app totally broken
By walkerr in forum Ext GWT: Bugs (1.x)Replies: 7Last Post: 29 Jun 2008, 9:06 PM -
Window panel totally messed up in a Drupal theme?! HELP!
By SkoalFyfan in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 3 Feb 2008, 3:25 PM -
Performing an action when the grid is totally loaded & rendered
By evankstone in forum Ext 1.x: Help & DiscussionReplies: 4Last Post: 10 Sep 2007, 12:02 PM -
[SOLVED] Problem Re-loading data in grid (totally weird)
By franzisk in forum Ext 1.x: Help & DiscussionReplies: 5Last Post: 12 Jun 2007, 11:59 AM


Reply With Quote