PDA

View Full Version : Can I use an array as the datasource for a grid?



dOrduna
20 Feb 2012, 11:21 AM
I posted a question earlier today here (http://www.sencha.com/forum/showthread.php?182055-Can-I-use-a-localstorage-as-the-proxy-for-a-grid-s-store&p=738194#post738194). But I think I was complicating everything way too much so I came up with a restructured, more concise question: Can I use an Array as the datasource of a grid?

If not, what would be the best alternative? Thanks in advance!

dOrduna
20 Feb 2012, 11:25 AM
I think I found my answer here (http://docs.sencha.com/ext-js/4-0/#!/api/Ext.data.ArrayStore) :D