Extjs - template for a composite of 2 fieldsets in a form


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. this.items = [{
  2. xtype : 'compositefield',
  3. defaults : {
  4. border : false,
  5. margins : '0 50 5 5',
  6. labelWidth : 200,
  7. autoHeight : true,
  8. defaults : {
  9. xtype : 'textfield',
  10. width : 250
  11. }
  12. },
  13. items: [{
  14. xtype : 'fieldset',
  15. items : [
  16. // items in first set
  17. ]
  18. },{
  19. xtype : 'fieldset',
  20. items : [
  21. // items in second set
  22. ]
  23. }]
  24. }];

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.