I have created the project though jhipster online ui application and trying to use spreadjs . I am getting the error
ERROR in node_modules/@grapecity/spread-sheets-angular/dist/gc.spread.sheets.angular.ts:247:17 - error TS7029: Fallthrough case in switch.
247 case 'autoGenerateColumns':
The same application i created though cli - jhipster --skip-server --db=sql --auth=jwt it is working .
npm install @grapecity/spread-sheets@12
npm install @grapecity/spread-sheets-angular@12
import { SpreadSheetsModule } from '@grapecity/spread-sheets-angular';
added in app module
---------------------------- In Component .
import * as GC from '@grapecity/spread-sheets';
spread:any;
sheet:any;
ngOnInit(): void {
const ele = document.getElementById('viewFileData');
this.spread = new GC.Spread.Sheets.Workbook(ele);
this.sheet = this.spread.getSheet(0);
const activeSheet = this.spread.getActiveSheet();
activeSheet.setValue(10, 9, "Hashu");
}
I Added the code reference to produce the issue . Kindly check once .