Thanks.

ok, gettting closer... the following code still missed some required attributes 
or value not set correctly for some existing ones, and I don't know which one...

var autos = new Ext.form.ComboBox({
xtype: 'combo',
id: 'type',
store : new Ext.data.Store({
proxy:new Ext.data.ScriptTagProxy({
url:'ext_qry.cfm'
}),
reader:new Ext.data.JsonReader({
root:'data',
id:'project'
})
}), 
mode : 'remote',
displayField: 'display',  // don't understand what exactly the doc says about it
editable: true,
applyTo:'project'


Output from firebug for the target is: 
And I don't understand why it set autocomplete to off, what triggered that?

<div id="ext-gen6" class="x-form-field-wrap x-trigger-wrap-focus" style="width: 
319px;">
<input id="project" class=" x-form-text x-form-field x-form-focus" type="text" 
onkeyup="document.getElementById('tagline').style.display='block'" size="50" 
autocomplete="off"/>

<img id="ext-gen7" class="x-form-trigger x-form-arrow-trigger " 
src="http://extjs.com/s.gif"/>

</div>


> http://www.extjs.com/deploy/dev/docs/?class=Ext.data.Store
> 
> mxAjax / CFAjax docs and other useful articles:
> http://www.bifrost.com.au/blog/
> 
> 2009/7/6 Don L <do...@yahoo.com>:
> >
> >>I just use the applyTo property when setting up the ComboBox.
> >>
> >>>
> >
> > Beautiful, thank you.  One more question, what are required 
> attributes for a URL for data store? some scattered sample as a 
> question seems very 
messy

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324274
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to