Posted By

jvandemerwe on 09/03/10


Tagged


Versions (?)

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


 / Published in: Other
 

  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  

You need to login to post a comment.