search list content in sencha architect 2
I'm a noob here trying to figure out how to search a list in sencha architect 2 using MVC. I'm assuming that I would have to make the search listen for onkeyup event but I'm stuck on how to search the store that the list is using to populate itself. Could someone show a example of how this would be done?
Get a reference to the store and then invoke the filter method.
Because the dataview is bound to the store any changes to it will automatically be reflected.
Thanks for the hint. The problem i was having was with the reference. After figuring out how the reference is done it works now. I had to do it this way "store = Ext.getStore('MyJsonStore');". Thanks for the help.
Originally Posted by aconran
Tags for this Thread