ReactJS React 내보내기가 작동하지 않습니다.
추천0 비추천 0
페이지 정보
작성자 유명효 작성일 2022-11-15 11:19 조회 414회 댓글 2건제품 버전 : 3.2.1
본문
관련링크
안녕하세요. 저번에 상세히 답변 주신 덕에 PureJS에서의 테스트는 완료하고 React에서 튜토리얼 진행 중에 있는데요.
아래와 같이 코드를 작성해도 리포트의 내보내기 기능이 활성화되지 않습니다..! 뭔가 누락된 부분이 있거나 React API를 잘못 활용하고 있는 부분이 있을까요~? 알려주시면 감사드리겠습니다!
function App () { const availableExports = ['xlsx', 'pdf', 'html']; const exportsSettings = { pdf: { author: "GrapeCity", // default values for other PDF Export settings }, html: { title: "GrapeCity", // default value for other HTML export settings }, 'tabular-data': { outputType: "plain", // default value for other TabularData export settings } }; return( <div id="viewer-host"> <Viewer viewMode='Continuous' sidebarVisible={true} availableExports={availableExports} exportsSettings={exportsSettings} report={{ Uri: 'report-test.rdlx-json' }} /> </div> ) }