Ext 오프닝 양식 레이아웃 디자인

2735 단어 ext
    var form = new Ext.form.FormPanel({

        labelAlign: 'right',

        labelWidth: 60,

        buttonAlign: 'center',

        title: 'form',

        frame:true,

        width: 450,

        url: '04_01_01.jsp',



        items: [{

            bodyStyle: 'background:transparent;border:0px;',

            layout:'column',

            items: [{

                bodyStyle: 'background:transparent;border:0px;',

                columnWidth:.5,

                layout: 'form',

                defaultType: 'textfield',

                items:[

                    {fieldLabel: ' '},

                    {fieldLabel: ' '}

                ]

            },{

                bodyStyle: 'background:transparent;border:0px;',

                columnWidth:.5,

                layout: 'form',

                defaultType: 'textfield',

                items:[

                    {fieldLabel: ' '},

                    {fieldLabel: ' '},

                    {fieldLabel: ' '}

                ]

            }]

        },{

            width: 345,

            height: 100,

            xtype: 'textarea',

            fieldLabel: ' '

        }],

        buttons: [{

            text: ' ',

            handler: function() {

                form.getForm().submit();

            }

        }]

    });

좋은 웹페이지 즐겨찾기