I need to pass data from a selected row on the syncfusion data grid to child component (I'm using Angular 7) and I'm wondring if syncfusion got it's own methods or do I just use @Input/@Output from angular? I hope you can share some examples if possbile.
I have another question and it's regarding rowSelecting() and rowSelected() in Angular 7, how I can use the both function inside ngOnInit() ? as I have other functions that online work inside the lifecycle hook .
MSMadhu Sudhanan P Syncfusion Team December 20, 2018 09:07 AM UTC
Thanks for the update.
The rowSelected and rowSelecting are event of the grid component which can be registered to the grid using () method in the component template.
It is not possible to register them inside the ngOnInit event as the grid is not initialized. If you want to bind the event handlers programmatically then please use ngViewAfterInit hook to bind the event as follows.