2013-05-13 2 views
1

이 내 엽차 터치 2 코드 방법 :그룹 엽차 터치 2 라디오 필드

여기
Ext.define("10.view.Main", { 
    extend: 'Ext.form.Panel', 

    requires: ['Ext.form.FieldSet'], 

    config: { 
     title: 'Main', 
     scrollable: 'both', 
     editable: false, 

     items: [{ 
      xtype: 'fieldset', 
      items: [{ 
       xtype: 'radiofield', 
       name: 'color', 
       value: 'red', 
       label: 'Red', 
       checked: true 
      }, 

      { 
       xtype: 'radiofield', 
       name: 'color', 
       value: 'blue', 
       label: 'Blue' 
      }] 
     }] 
    } 
}); 

코드의 미리보기입니다. 내가 얻는 것은 이것이다 : 아래처럼

what i get is this

나는 그룹 내 라디오 필드합니다.

what i need is this

내가 어떻게 할 수 있습니까?

+0

을 접견? – uia9020

답변