jay@moduscreate.com
27 May 2009, 11:17 AM
it would be cool if the following was possible
var comboEditor = {
xtype : 'combo',
triggerAction : 'all',
displayField : 'state',
valueField : 'state',
store : {
xtype : 'jsonstore',
root : 'records',
fields : ['state'],
proxy : {
xtype : 'scripttagproxy',
url : 'http://tdgi/getStates.php'
}
}
}
var comboEditor = {
xtype : 'combo',
triggerAction : 'all',
displayField : 'state',
valueField : 'state',
store : {
xtype : 'jsonstore',
root : 'records',
fields : ['state'],
proxy : {
xtype : 'scripttagproxy',
url : 'http://tdgi/getStates.php'
}
}
}