Guest User

Untitled

a guest
Jun 28th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. NumberInput: function(value, fieldsMarginBottom, rowName) {
  2. var Number = Ext.create('Ext.form.field.Text', {
  3. name: 'Id',
  4. value: value,
  5. width: this.fieldWidth,
  6. style: {
  7. marginBottom: fieldsMarginBottom + 'px'
  8. }
  9. });
  10. var searchButton = this.createSearchButton(rowName, 'person', fieldsMarginBottom);
  11. var numberWithSearch = {
  12. layout: {
  13. type: 'hbox'
  14. },
  15. items: [
  16. NumberInput,
  17. searchButton
  18. ]
  19. };
  20. return numberWithSearch;
  21. },
  22.  
  23. var numberWithSearch = {
  24. layout: {
  25. type: 'hbox',
  26. border: false,
  27. frame: false,
  28. bodyStyle: 'background-color:#ffffff;',
  29. bodyCls: 'x-panel-body-default-framed',
  30. border:0
  31. },
  32. items: [
  33. NumberInput,
  34. searchButton
  35. ]
  36. };
Add Comment
Please, Sign In to add comment