안녕하세요 메시어스입니다.
테이블 시트와 같은 용도로 다른 기능을 이용하여 구현하기에는 어려워 보입니다.
일전에 말씀해주신 리포트 시트 기능도 검토해 보았으나, 미리 보기가 켜져 있어야 시트 상에서 데이터가 표시되고, 이 때 엑셀 내보내기 시에는 헤더와 눈금선이 사라지기 때문에 요구 사항에 따라 테이블 시트 대신 사용이 어려울 수 있을 것 같습니다.
다만, 100,000개 데이터를 워크시트에 불러왔을 때 많은 시간이 소요되었다고 하셔서 저희 편에서 테스트해 보았습니다.
100,000개 행/8개 열을 데이터 바인딩하는 테스트를 진행했으나, 1초 내외로 굉장히 빠르게 불러오기가 가능했습니다.
아래는 저희 편에서 테스트한 샘플과 코드 입니다.
이와 같은 형태로 진행 중이신 프로젝트에 사용이 가능한 지 확인 부탁 드립니다.
$(document).ready(function () {
console.time("test");
let spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"));
let sheet = spread.getActiveSheet();
$.ajax({
url: "https://cdn.mescius.co.kr/samples/sampleData/100000data.json",
datatype: "json",
success: function (data) {
//here to load ssjson file.
spread.suspendPaint();
spread.suspendCalcService();
spread.suspendEvent();
spread.getSheet(0).setDataSource(data);
spread.resumeEvent();
spread.resumeCalcService();
spread.resumePaint();
console.timeEnd("test");
},
error: function (ex) {
alert('Exception:' + ex);
console.log(ex)
}
});
});
감사합니다.
메시어스 드림