PureJS contextmenu 와 Desinger 적용시 오류 발생
페이지 정보
작성자 제이디 작성일 2022-04-28 10:19 조회 864회 댓글 1건본문
첨부파일
관련링크
var spread = new GC.Spread.Sheets.Workbook(document.getElementById('ss'));
const cntxtRptRanRls = {
text: "추가메뉴",
name: "repeatRangeRelease",
workArea: "viewport",
command: "함수",
iconClass: "gc-spread-pivotShowDetails"
};
spread.contextMenu.menuData.push(cntxtRptRanSet);
위와 같이 contextMenu 를 추가해서 사용하였는데
Designer를 적용하니 아래와 같은 오류가 발생, 모든 contextMenu 가 작동하지 않습니다..
var designer = new GC.Spread.Sheets.Designer.Designer(document.getElementById("designerHost"), '', spread);
오류가 발생합니다
Uncaught TypeError: Cannot read properties of undefined (reading 'visibleContext')
Designer 적용시 다른 방법으로 contextMenu 를 적용해야 하나요 ?
댓글목록
제이디님의 댓글
제이디 작성일
https://dev.grapecity.co.kr/bbs/board.php?bo_table=spreadjs_o_study&wr_id=25
참조해서 처리 했습니다.