Thanks for using Syncfusion product.
We have checked your query for the “Issue with DataGrid control when using with RG Popup Control”. We have prepared a sample with the provided Xaml page and we have checked the swiping feature in the DataGrid with the LeftSwipeTemplate to load the image and label where you have reported that swiping is lagging in the DataGrid. If you set the source for the image in Xaml page and keep the image in the renderer which perform the swiping operation delayed. As of now you can use the BindingContextChanged in the image to set the image path in the code behind and this will get resolve your issue. We suspect the lagging of the swiping while set the image path as source in Xaml is the framework issue. We need to validate further about the issue and we will provide you the further details on or before 04/12/2018.
Please refer the below code logics to overcome the issue.
Xaml logics
|
<Image Grid.Column="0"
BackgroundColor="Transparent"
HorizontalOptions="CenterAndExpand"
WidthRequest="24"
HeightRequest="24"
BindingContextChanged="Image_BindingContextChanged" /> |
C# logics
|
private void Image_BindingContextChanged(object sender, EventArgs e)
{
if (!isEditBindingContextChanged)
{
var editIcon = sender as Image;
editIcon.Source = ImageSource.FromResource("SfDataGridSample.Edit.png");
}
} |
We have prepared a sample for your requirement and you can download the same from the below link.
Regards,
Jayaraman.