How to extract the data from data.store to an array?
Posted
by
Prateek Raj
on Stack Overflow
See other posts from Stack Overflow
or by Prateek Raj
Published on 2011-01-03T05:48:18Z
Indexed on
2011/01/03
5:54 UTC
Read the original article
Hit count: 310
Hi everyone,
i have the class
var prstore = new Ext.data.Store({
url: 'xmlformat.xml',
autoLoad: true,
reader: new Ext.data.XmlReader({
record: 'price'
}, [{name: 'Pri', mapping: '@rate'}])
});
the data which is stored in the "prstore",i want it to copy it into an array.
something like
var hello = [];
hello = prstore.getrange();
but it's not working for me please help thank you
© Stack Overflow or respective owner