I have in a viewport a textfield that it is for searching purpose. I have also a store that holds the data from the search queries. When user conducts a search and if query has results the store is populated with records. Each time user makes a search the store is updating with the new records. It is likely that some queries will not return results. So, what I want is when the search query don,t return any results not to update the store but retain the last successful query results. How can I do that?
Thank for the reply. In my app i have only one store holding search results. Is it possible to achieve the above functionality with one store? If not can you point me in how to do it with two stores?