PDA

View Full Version : How could I dynamically change model of my store?



akucher
7 Aug 2014, 8:43 AM
Hello, I have a two combos: one for type and one for search by specified type.
I have implemented dynamic change of request depend on type in store.proxy, but it works once. Then search combo show me first query data and do not want perform another query.
How could I change model or store dynamically to accomplish this?

You could found sample code and video in attachment (unfortunately, I can't add video (about 1 mb) because of forum limitations).

akucher
7 Aug 2014, 11:21 PM
I've resoled problem by make store.destroy before