Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 9th, 2012  |  syntax: None  |  size: 0.44 KB  |  hits: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. {
  2.                 xtype:'combo',
  3.                 fieldLabel:'Are load balancers used either within or external to your environment?*',
  4.                 store: new Ext.data.ArrayStore({
  5.                 fields: ['value', 'text'],
  6.                 data: [
  7.                         {value:0, text: 'No'},
  8.                         {value:1, text: 'Yes'}
  9.                 ]      
  10.                 }),                                                                                                                displayField:'text',                                                                                         typeAhead: true,
  11.                 mode: 'local',
  12.                 forceSelection: true,
  13.                 triggerAction: 'all',
  14.                 emptyText:'Select an option...',
  15.                 selectOnFocus:true
  16.                 }