! 제품 버전을 정확하게 입력해 주세요.
제품 버전이 정확하게 기재되어 있지 않은 경우,
최신 버전을 기준으로 안내 드리므로
더욱 빠르고 명확한 안내를 위해
제품 버전을 정확하게 입력해 주세요!

ExcelIO License Error 관련 이어서 다시 문의 드립니다. > Q&A | 토론

본문 바로가기

VueJS ExcelIO License Error 관련 이어서 다시 문의 드립니다.

페이지 정보

작성자 뿌사마 작성일 2021-10-21 10:41 조회 1,647회 댓글 0건
제품 버전 : 14.1.5
컨트롤 이름 : ExcelIO

본문

안녕하세요. 아래 ExcelIO License Error 관련 이어서 다시 문의 드립니다.


이전 내용 참조 하여 아래와 같이 수정 했습니다만 가이드 해주신 대로 하면 컴파일 에러가 발생 합니다.


(1)

import '@grapecity/spread-sheets-designer-resources-ko'

import * as GC from '@grapecity/spread-sheets'

import * as ExcelIO from '@grapecity/spread-excelio'

import '@grapecity/spread-sheets-vue'

import '@grapecity/spread-sheets/styles/gc.spread.sheets.excel2016colorful.css'


GC.Spread.Sheets.LicenseKey = 'License Key'

(ExcelIO).LicenseKey = 'License Key' 


Unexpected newline between function and ( of function call (no-unexpected-multiline)


(2)

import '@grapecity/spread-sheets-designer-resources-ko'

import * as GC from '@grapecity/spread-sheets'

import * as ExcelIO from '@grapecity/spread-excelio'

import '@grapecity/spread-sheets-vue'

import '@grapecity/spread-sheets/styles/gc.spread.sheets.excel2016colorful.css'


GC.Spread.Sheets.LicenseKey = 'License Key'

(ExcelIO as any).LicenseKey = 'License Key'  


Syntax Error: SyntaxError: C:\work\siltron\src\client\ui\src\Spread.js: Unexpected token, expected ","

  • 페이스북으로 공유
  • 트위터로  공유
  • 링크 복사
  • 카카오톡으로 보내기

댓글목록

등록된 댓글이 없습니다.

1 답변

VueJS Re: ExcelIO License Error 관련 이어서 다시 문의 드립니다.

추천0 이 글을 추천하셨습니다 비추천0 채택채택

페이지 정보

작성자 GCK루카스 작성일 2021-10-22 13:37 댓글 0건

본문

안녕하세요 그레이프시티입니다.


그렇다면 라이선스 선언을 기존과 같이 하고, 아래 ExcelIO를 선언하는 부분을 "new ExcelIO.IO();"로 선언해 보시기 바랍니다.

ExcelIO.LicenseKey = "license";

...


saveExcel() {
      let spread = this.spread;
      let excelIo = new ExcelIO.IO();

     ...

}

Vue 환경에서 SpreadJS의 ExcelIO를 사용하는 샘플을 첨부해 드립니다.

해당 샘플을 참고하시어 현재 사용하시는 프로젝트에 적용하여 보시기 바랍니다.

샘플 확인 | 샘플 코드 확인


다른 궁금한 점이 생기면, 언제든 문의 주시기 바랍니다.


감사합니다.

그레이프시티 드림

* 그레이프시티(GrapeCity)는 개발자를 위하여 ComponentOne(컴포넌트원), Spread(스프레드), ActiveReports(액티브리포츠), SpreadJS(스프레드JS), Wijmo(위즈모)와 같은 엑셀 스프레드시트 리포팅 그리드와 차트 등 다양한 종류의 .NET JavaScript(자바스크립트) 컴포넌트 툴을 생산하고있는 개발툴 전문 회사 입니다.

댓글목록

등록된 댓글이 없습니다.

메시어스 홈페이지를 통해 제품에 대해서 더 자세히 알아 보세요!
홈페이지 바로가기
메시어스 홈페이지를 통해 제품에 대해서 더 자세히 알아 보세요!
홈페이지 바로가기
이메일 : sales-kor@mescius.com | 전화 : 1670-0583 | 경기도 과천시 과천대로 7길 33, 디테크타워 B동 1107호 메시어스(주) 대표자 : 허경명 | 사업자등록번호 : 123-84-00981 | 통신판매업신고번호 : 2013-경기안양-00331 ⓒ 2024 MESCIUS inc. All rights reserved.