Posted 11 June 2019, 11:50 pm EST
I want an event to be triggered from wijmo flexsheet once it has completed rendering of datasource provided to it.
I am using Angular 5.
Forums Home / Wijmo / General Discussion
Posted by: reeshabh.choudhary on 11 June 2019, 11:50 pm EST
Posted 11 June 2019, 11:50 pm EST
I want an event to be triggered from wijmo flexsheet once it has completed rendering of datasource provided to it.
I am using Angular 5.
Posted 12 June 2019, 7:12 pm EST
You may use the initialized or the loadedRows event. Please refer to the code snippet below that shows how you can use these events:
In your markup:
<wj-flex-sheet #sheet (initialized)="initSheet(sheet)" (loadedRows)="loadedRows(sheet, $event)>
…
In your TS file:
initSheet(sheet) {
// your code
}
loadedRows(sheet, args) {
// your code
}
You may use any one of the events for your use case.