Question

Can anyone reproduce this type of layout in extjs4.1:

I try to reproduce this type of combination layout but for now i just do only a row or a column but not together at the same time

this is the code i use in extjs2:

[{
                    layout:'column',
                    border: false,
                    items:[{
                        width:220,
                        layout: 'form',
                        border: false,
                        items: [{
                            xtype:'textfield',
                            fieldLabel: 'asd',
                            name: 'clientId',
                            tabIndex: 1
                        },{
                            xtype:'textfield',
                            fieldLabel: 'lol',
                            name: 'clientId',
                            tabIndex: 11
                        }]
                    },{
                        width:220,
                        layout: 'form',
                        border: false,
                        items: [{
                            xtype:'textfield',
                            fieldLabel: 'qwerty',
                            name: 'description',
                            tabIndex: 2
                        },{
                            xtype:'textfield',
                            fieldLabel: 'kat',
                            name: 'description',
                            tabIndex:12
                        }
                        ]
                    },{
                        width:220,
                        layout: 'form',
                        border: false,
                        items: [
                        {
                            xtype:'textfield',
                            fieldLabel: 'duck',
                            name: 'description',
                            tabIndex: 3
                        }
                        ,
                        {
                            xtype:'textfield',
                            fieldLabel: 'lucky',
                            name: 'description',
                            tabIndex: 13
                        }]

                    }] 
                }]

Any type of help is usefull

Was it helpful?

Solution

Try using the HBox layout, have alook at the example:

http://jsfiddle.net/kG95M/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top