IT | 개발/JavaScript

[javascript | kendo] ComboBox Value 가져오기 (DropDownList)

뻔뻔한 개발자 2021. 2. 4. 08:48

 

이와 같은 ComboBox(DropDownList) 의 값 가져오기

 

1. 선언 부분

<input id="sDeptCd" type="text" class="form_comboBox">

 

2. 값 세팅 부분

    $("#sDeptCd").kendoExtDropDownList({
     dataSource:deptCdList
        ,dataValueField:"cmmCd"
        ,dataTextField:"cmmCdNm"
        ,filter:"contains"
        ,filtering:function(e){
         var filter = e.filter;
        }
    });

 

3. 값 불러오기

$("#sDeptCd").data("kendoExtDropDownList").value();