dave0224
28 Jun 2007, 9:23 AM
this is my code
var actinStore = new Ext.data.Store({
proxy: new Ext.data.ScriptTagProxy({url:'typeCombo.action?method=getTypes&category=ACTION_STATUS'}),
reader: new Ext.data.JsonReader(
{root: 'result', id: 'ID'},
[
{name: 'ID', mapping: 'ID'},
{name: 'TITLE', mapping: 'TITLE'},
{name: 'VALUE', mapping: 'VALUE'}
]
)
}
);
var actionStatus_combo = new Ext.form.ComboBox({
store: actinStore,
displayField:'TITLE',
valueField:'VALUE',
typeAhead: true,
triggerAction: 'all',
selectOnFocus:true,
valueNotFoundText:'',
defaultValue:''
});
actionStatus_combo.applyTo('STATUS_SHOW');
<input type="text" id="STATUS_SHOW" size="10">
if i refresh the window,the iexplore.exe (ie) use memory is increase .
var actinStore = new Ext.data.Store({
proxy: new Ext.data.ScriptTagProxy({url:'typeCombo.action?method=getTypes&category=ACTION_STATUS'}),
reader: new Ext.data.JsonReader(
{root: 'result', id: 'ID'},
[
{name: 'ID', mapping: 'ID'},
{name: 'TITLE', mapping: 'TITLE'},
{name: 'VALUE', mapping: 'VALUE'}
]
)
}
);
var actionStatus_combo = new Ext.form.ComboBox({
store: actinStore,
displayField:'TITLE',
valueField:'VALUE',
typeAhead: true,
triggerAction: 'all',
selectOnFocus:true,
valueNotFoundText:'',
defaultValue:''
});
actionStatus_combo.applyTo('STATUS_SHOW');
<input type="text" id="STATUS_SHOW" size="10">
if i refresh the window,the iexplore.exe (ie) use memory is increase .