In my project I have Vue component that contains Data Grid inside. I need to test the behavior that is connected with onActionBegin callback of the grid. But in the test environment my callbacks are not called. I provided lite version of my samples in the attachment. Thank you for help.
PS: I faced a lot of problems mounting the component with Data Grid inside. Cause Data Grid under the hood uses some window functions and properties that are not available from the node environment. If you have an example of testing the Data Grid, please provide it. Thanks again.
MFMohammed Farook J Syncfusion Team November 16, 2018 07:58 AM
Thanks for contacting Syncfusion support.
Based on your request we have created and attached a sample for testing the Data Grid. In this sample, we have used the “goToPage” method of Grid to navigate to the second page. At this time the “actionBegin” event will be triggered. In the “actionBegin” event handler function we have updated the value for the “currentPage”. Please download the sample from the link below,