how to use store define in store folder
Posted
by
Kevin Morfin
on Stack Overflow
See other posts from Stack Overflow
or by Kevin Morfin
Published on 2012-10-15T21:28:49Z
Indexed on
2012/10/15
21:36 UTC
Read the original article
Hit count: 240
sencha-touch
I'm new to sencha-touch. I was wondering how to properly use the file structure in sencha-touch. For example, under the app folder there's your controller, model, profile, store, view folders. If I define a store, for example under the the store folder I create a file named search.js
Ext.define('Volunteer.store.search'{
extend: 'Ext.data.Store',
requires: ['Volunteer.model.person'],
config:{
model: 'Volunteer.model.person'
}
});
How do I use this store in a different file?
© Stack Overflow or respective owner