EXT 다중 라디오 가로 정렬
                                            
 7657 단어  ext
                    
// 
    var panelItem=  [
    		       {
                    		columnWidth:1,
                			layout: 'form',
                			items:[{
	                    		xtype:'hidden',
			                    fieldLabel: ' ',
			                    id:'id',
			                    name: 'Obj.id',
			                    readOnly:true,
			                    hidden:false,
			                    width: 100,
			                    maxLength:10,
			                    minLength:1,
			                    allowBlank: false
                    			}]
	                    },
	              {
                    		columnWidth:1,
                			layout: 'form',
                			items:[{
                			    xtype:'hidden',
			                    fieldLabel: ' id',
			                    id:'pId',
			                    msgTarget:'under',
			                    name: 'Obj.base.id',// 
			                    height:22,
width:180,
			                    readOnly:true,
			                    maxLength:20,
			                    allowBlank: true }
                    			]
	                    },
    		    {
                    layout:'column',
                    items:[
                    	{
                    		columnWidth:.5,
                			layout: 'form',
                			items:[{
	                    		xtype:'textfield',
                                fieldLabel: ' ',
			                    id:'parentName',
			                    hidden:false,
			                    readOnly:true,
			                    name: 'parentName', // 
			                    height:22,
                                width:180,
			                    minLength:1
                    			}]
	                    },
	                    {
	                    	columnWidth:.5,
                			layout: 'form',
                			items:[{xtype:'textfield',
			                    fieldLabel: '     ',
			                    id:'name',
			                    msgTarget:'under',
			                    name: 'Obj.name',
			                    height:22,
                                width:180,
			                    maxLength:20,
			                    allowBlank: false }]
	                    },
	                    	                     {
 	columnWidth:.5,
                 layout:'column',
                 items:[
                       {
                       	columnWidth:.5,
                         layout: 'form',
                         items: [new Ext.form.Radio({style:'margin-top:5px',
                         fieldLabel: '     ',
                         id:'length1',
			                    			boxLabel:' ',
							                name: 'Obj.length',
							                inputValue:1,
							                checked:false})]
                     },
                     {
                     	columnWidth:.5,
                     	items: [new Ext.form.Radio({style:'margin-top:5px',
                     id:'length2',
			                    			boxLabel:' ',
							                name: 'Obj.length',
							                inputValue:0,
							                checked:true})]
                     }
                     ]
             },
	                     {
 	columnWidth:.5,
                 layout:'column',
                 items:[
                       {
                       	columnWidth:.5,
                         layout: 'form',
                         items: [new Ext.form.Radio({style:'margin-top:5px',
                         fieldLabel: '     ',
                         id:'width1',
			                    			boxLabel:' ',
							                name: 'Obj.width',
							                inputValue:1,
							                checked:false})]
                     },
                     {columnWidth:.5,
                     items: [new Ext.form.Radio({style:'margin-top:5px',
                     id:'width2',
			                    			boxLabel:' ',
							                name: 'Obj.width',
							                inputValue:0,
							                checked:true})]
                     }
                     ]
             },
 {
 	columnWidth:.5,
                 layout:'column',
                 items:[
                       {
                       	columnWidth:.5,
                         layout: 'form',
                         items: [new Ext.form.Radio({style:'margin-top:5px',
                         fieldLabel: '     ',
                         id:'height1',
			                    			boxLabel:' ',
							                name: 'Obj.height',
							                inputValue:1,
							                checked:false})]
                     },
                     {
                     	columnWidth:.5,
                     	items: [new Ext.form.Radio({style:'margin-top:5px',
                     id:'height2',
			                    			boxLabel:' ',
							                name: 'Obj.height',
							                inputValue:0,
							                checked:true})]
                     }
                     ]
             },
 {
 	columnWidth:.5,
                 layout:'column',
                 items:[
                       {
                       	columnWidth:.5,
                         layout: 'form',
                         items: [new Ext.form.Radio({style:'margin-top:5px',
                         fieldLabel: '     ',
                         id:'volume1',
			                    			boxLabel:' ',
							                name: 'Obj.volume',
							                inputValue:1,
							                checked:false})]
                     },
                     {
                     	columnWidth:.5,
                     items: [new Ext.form.Radio({style:'margin-top:5px',
                     id:'volume2',
			                    			boxLabel:' ',
							                name: 'Obj.volume',
							                inputValue:0,
							                checked:true})]
                     }
                     ]
             },
	                     {
	                    	columnWidth:.5,
                			layout: 'form',
                			items:[{xtype:'textfield',
			                    fieldLabel: '     ',
			                    id:'descn',
			                    msgTarget:'under',
			                    name: 'Obj.descn',
			                    height:22,
                                width:180,
			                    maxLength:20,
			                    allowBlank: true }]
	                    }
	                   ]
                }
                ];
	//form
    var panel = new Ext.FormPanel({
        applyTo: 'Content-render-panel-div',
        frame:true,
        url:'saveOrUpdateBase.action',
        //reader:thospital,
        autoHeight:true,
        autoWidth:true,
        autoScroll:true,
        items:panelItem ,
		buttons: [{
            text: ' ',
            id:'hsubmit',
            handler:save
        }]이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
ExtJS 3.2 학습 노트(3) 사용자 정의 이벤트Extjs에서 모든 상속은 Ext.util에서 합니다.Observable 클래스의 컨트롤은 이벤트를 지원할 수 있습니다. 클래스에 대해 이벤트를 사용자 정의하려면 다음 절차를 따르십시오. 1, 먼저 클래스를 정의합니...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.