PDA

View Full Version : How to load Combobox with Ext.Ajax.Request



dbassett74
24 Jun 2009, 2:16 PM
Is this possible? I am already familiar with using the Ext.Ajax class to populate a Tree, but I now want to populate a Combobox with this, but I couldn't really find anything on this. Everything seems to reference the JsonStore, but I just found out that it doesn't seem to allow modification of the headers sent to the server. I need this as I'm calling an ASP.NET Web Service which needs the content type to be set to Json.

I was also just hoping to capitalize off my knowledge of the Ext.Ajax class. Any help would be appreciated.

aconran
24 Jun 2009, 5:42 PM
ComboBoxes are data bound widgets that must be bound to a Store. In your other thread (http://extjs.com/forum/showthread.php?t=72362), I've described how to send custom headers with a Store.