PDA

View Full Version : offline search



lsstacc
22 Feb 2011, 3:46 PM
since sqlite isn't supported.
does anyone know how to perform offline search on local storage?

thanks in advance.

lsstacc
24 Feb 2011, 5:53 AM
Anyone has any idea on how to do a offline data list search?

SimonFlack
24 Feb 2011, 5:59 AM
Depending on the size of your data cant you use a localStorageProxy and apply a filter to implement the search.

var store = new Ext.data.Store({
autoLoad: true,
model: "User",
proxy: {
type: 'localstorage',
id : 'twitter-Searches'
}
});

store.filter('eyeColor', 'Brown');