Is there any event triggered for worksheet selection. Use case is that I want to load each worksheets upon click on each worksheet. Would be great if you could give any documentation links.
|
<ejs-spreadsheet #default [openUrl]="openUrl" [saveUrl]="saveUrl" (created)="created()" (actionBegin)="actionBegin()" (select)="select()"> </ejs-spreadsheet>
actionBegin(args) {
console.log("actionBegin", args);
}
select(args) {
console.log("cell or range of cells is selected", args);
} |
Hi Janakiraman,
Thank you for your reply. This what I exactly need. However when I follow actionBegin event binding I get following issue. Can you please help?
Angular version - 12
typescript version - 4.3
ej2-angular-spreadsheet - 19.2
Error: src/app/app.component.html:2:63 - error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
"@syncfusion/ej2-angular-spreadsheet": "^19.2.62",
"devDependencies": {
"@angular/cli": "12.2.6",
"typescript": "4.3.5"
}
|
Hi
After I set strictTemplates = false in tsconfig.json file(this file automatically generated when you create new project from angular CLI) everything works fine. However I couldn't find tsconfig.json in your sample.
Thank you!
Hi Janakiraman,
With the help of your sample I was able to resolve my issue. Than