PureJS combobox 기본선택하는 법
페이지 정보
작성자 zoooou 작성일 2020-11-24 14:32 조회 4,294회 댓글 0건본문
관련링크
ComboBox 에 데이터를 바인딩한 후 기본 선택을 하고 싶습니다.
간단한 거 같은데 잘 안되어 문의 드립니다.
let theComboBox = new wijmo.input.ComboBox('#theComboBox', { showGroups: true, selectedValuePath : "VALUE", displayMemberPath : "NAME", itemsSource: dataView, selectedValue : '선택값' });
위 코드처럼 selectedValue에 값을 Set 하면 document completed 시 해당 값으로 선택된 상태가 되고 싶습니다.
감사합니다.
댓글목록
등록된 댓글이 없습니다.