Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. {
  2. xtype: 'combo',
  3. valueField: 'value',
  4. displayField: 'text',
  5. triggerAction: 'all',
  6. editable: true,
  7. // forceSelection: true,
  8. resizable: true,
  9. allowBlank: false,
  10. mode: 'local',
  11. itemId: 'BoolAttributesYesLabel',
  12. fieldLabel:Wes.core().applyLabel('BooleanYesLabel', 'Boolean true label'),
  13. name:'BoolAttributesYesLabel',
  14. store: new Ext.data.ArrayStore({
  15. idIndex: 0,
  16. fields: [
  17. { name: 'value', type: 'int' },
  18. { name: 'text', type: 'string' }
  19. ],
  20. data: [
  21. ['0', Wes.core().applyLabel('Yes', 'Yes')],
  22. ['1', Wes.core().applyLabel('True', 'True')],
  23. ['2', '1']
  24. ]
  25. })
  26. },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement