VueJS 헤더에 콤보박스를 넣을 수 있나요?
추천0 비추천 0
페이지 정보
작성자 파다 작성일 2022-03-30 17:32 조회 974회 댓글 0건제품 버전 : 14.2.3
본문
관련링크
안녕하세요. 콤보박스 관련 질문이 두개가 있습니다.
위 사진처럼 헤더에 displayName옆에 콤보박스를 넣고 싶습니다.
let cellType = new GC.Spread.Sheets.Style();
cellType.cellButtons = [
{
imageType: GC.Spread.Sheets.ButtonImageType.dropdown,
command: "openList",
useButtonStyle: true,
}
];
cellType.dropDowns = [
{
type: GC.Spread.Sheets.DropDownType.list,
option: {
items: col.options.itemList,
}
}
];
sheet.setStyle(0, i, cellType, GC.Spread.Sheets.SheetArea.colHeader);
현재는 이렇게 style로 콤보박스를 넣은 상태이고, 실행시키면 displayName + 콤보박스가 나오는게 아니라 밑의 사진처럼 선택한 item의 value값으로 덮어씌워집니다.
1. 헤더에 displayName과 콤보박스를 함꼐 나오게 할 수 있나요?
2. 콤보박스 안에 radio버튼을 넣을 수 있나요?
댓글목록
등록된 댓글이 없습니다.