t4deon
9 Aug 2012, 10:32 AM
I want to create a form with a custom layout. It should look like this:
myLabel: [myTextField]
myLabel: [TextField] some text [TextField]
myLabel: [TextField]
The first and last part are no problems but I hit on problems at the middle part.
I've tried this:
... class definition etc.
items: [{ xtype: 'textfield',label: 'firstField'},
{
items: [ { xtype: 'textfield', label: 'MyLabel' }, { xtype: 'textfield', label: 'some text' } ]
},
{
xtype: 'textfield',
label: 'lastField'
}
The result:
firstField: [myTextField]
myLabel: [TextField]
some text [TextField]
lastField: [TextField]
Any ideas how to solve this problem? I am very new to Sencha and have no idea how to do this...
Thanks.
t4deon
myLabel: [myTextField]
myLabel: [TextField] some text [TextField]
myLabel: [TextField]
The first and last part are no problems but I hit on problems at the middle part.
I've tried this:
... class definition etc.
items: [{ xtype: 'textfield',label: 'firstField'},
{
items: [ { xtype: 'textfield', label: 'MyLabel' }, { xtype: 'textfield', label: 'some text' } ]
},
{
xtype: 'textfield',
label: 'lastField'
}
The result:
firstField: [myTextField]
myLabel: [TextField]
some text [TextField]
lastField: [TextField]
Any ideas how to solve this problem? I am very new to Sencha and have no idea how to do this...
Thanks.
t4deon