Login Register

Change behavior of ComboBox polling a store

Hi,

I'm using the dijit.form.ComboBox with a dojo.data.XmlStore for getting xml-formatted data asynchronously from my server backend. It works fine for me, but I notice it creating a huge amount of traffic. While about 30 files from the dojo/dijit packet are needed for the combo box to work, the box itself not only query the store (which then itself sends a HTTPRequest to its url) when the drop-down button is clicked, but also on every keystroke made in the input field.
Is there a way to change this behavior? Can't the store cache the data?

nice feature

This isn't actually a dijit issue, but a data store issue. Yes, it would be great to have caching in the stores, but AFAIK this hasn't been implemented yet.

=========
Bill Keese
Project Lead (aka BDFL) of Dijit

time plan?

Hi Bill,

are there any plans wheter and when this will be implemented?

speak of the devil

I just read this ClientFilter blog post.... I guess we do support it:

=========
Bill Keese
Project Lead (aka BDFL) of Dijit