Posted 23 February 2024, 10:50 am EST
I have followed the Angular Print example. But no matter what I do.
Workbook.print is not defined.
Package.json has
“@grapecity/spread-excelio”: “^16.0.0”,
“@grapecity/spread-sheets”: “^16.0.0”,
“@grapecity/spread-sheets-pdf”: “^16.0.0”,
“@grapecity/spread-sheets-print”: “^16.0.0”,
“@grapecity/spread-sheets-angular”: “^16.0.0”,
These are my imports.
In AppModule
[,SpreadSheetsModule…]
In a Component
import GC from ‘@grapecity/spread-sheets’;
import ‘@grapecity/spread-sheets-print’;
And the workBook.print method is undefined.