Hi Charith,
Thanks for using Syncfusion products.
We have checked your query. SfDataGrid will not handle touch operations, if its child view has already handled and taken over the touch. This is because the child view suppresses the parent's touch and since you are using TapGestureRecognizer inside template column, this suppresses the touch of SfDataGrid which is why the swipe view was not collapsed on tap. However, you can programmatically close the swipe view in SfDataGrid using SfDataGrid.ResetSwipeOffset() method.
The below code example illustrates how to close the swipe view programmatically.
private void Btn_Clicked(object sender, EventArgs e)
{
dataGrid.ResetSwipeOffset();
} |
Regards,
Sivaraman