Hi Oscar,
Thanks for contacting Syncfusion support.
In SfDataGrid, three events will be raised while swiping. If you start the swiping process, then SwipeStarted event will be raised. If the swiping is in progress, then Swiping event will be raised. If the swiping operation is ended, then SwipeEnded event will be raised. Please refer the below code snippet,
dataGrid.SwipeStarted += DataGrid_SwipeStarted;
dataGrid.Swiping += DataGrid_Swiping;
dataGrid.SwipeEnded += DataGrid_SwipeEnded;
//Swipe ended event will fire once you the swiping process is ended
private void DataGrid_SwipeEnded(object sender, SwipeEndedEventArgs e)
{
}
//Swiping event will fire when the swiping process is in progress
private void DataGrid_Swiping(object sender, SwipingEventArgs e)
{
}
//Swipe started event will fire once you started the swiping process
private void DataGrid_SwipeStarted(object sender, SwipeStartedEventArgs e)
{
} |
Please refer the below UG link to know more about SfDataGrid swiping feature and its events,
Also, we have prepared a sample using swiping feature and you can download the same from the below link,
Regards,
Divakar.