PDA

View Full Version : Dynamically change URL of a remote ComboBox JsonStore



primary0
26 Mar 2011, 9:30 AM
Hi there.

This only works if the ComboBox is set to local.



store.proxy.setUrl("/my_url");
store.reload();


If the ComboBox is remote, upon clicking the arrow it loads data from the previous URL, not the one I just set using the steps above. The ComboBox needs to be remote in order to support type-ahead search and pagination in the drop-down list.

I wonder if any of you guys have come across this and know a way to dynamically change the URL for a remote ComboBox.