Skip to content

Instantly share code, notes, and snippets.

@edspencer
Created August 14, 2009 21:52
Show Gist options
  • Save edspencer/168128 to your computer and use it in GitHub Desktop.
Save edspencer/168128 to your computer and use it in GitHub Desktop.
var combo = new Ext.form.ComboBox({
xtype: 'combo',
name : 'perpage',
width: 40,
listWidth: 40,
store: new Ext.data.ArrayStore({
fields: ['id'],
data : [
['15'],
['25'],
['50'],
['100'],
['500']
]
}),
mode: 'local',
value: '15',
triggerAction : 'all',
displayField : 'id',
valueField : 'id',
editable : false,
forceSelection: true
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment