기본적으로 text값이 넘어갈 경우 hiddenName 을 추가적으로 입력하면 된다.

            new Ext.form.ComboBox({
               store : new Ext.data.SimpleStore({
                  fields : ['value', 'text1'],
                  data:[['name','이름'],
                        ['jumin','주민등록번호'],
                        ['contractno','계약번호']
                      ]
               }),
               id:'skind',
               name:'skind',
               hiddenName  : 'skind',
               fieldLabel : '검색조건',
               typeAhead: true,
               triggerAction: 'all',
               width:135,
               mode:'local',
               displayField:'text1',
               valueField:'value',
               value:'name',
               allowBlank:false,
               forceSelection:true,
               editable:false

'프로그래밍 > ExtJS' 카테고리의 다른 글

[ExtJS] Ext JS 3.1 Designed Class Diagram  (0) 2010.01.18
[ExtJS] store reload 시 파라미터 넘기기  (0) 2010.01.17
[ExtJS] 한글 전송하기  (0) 2010.01.17
Posted by 암리타 :