I followed the documentation and sample for swiping on sfdatagrid. I have swiping and selection together and actually when I do swiping, it fires also selecteditem and I normally have a navigation on another page for details of the row when row is selected. how can I control this? how can I prevent selectedItem is fired when swiping left or right?
<sfgrid:SfDataGrid ScrollingMode="PixelLine" x:Name="dataGrid"
AutoGenerateColumns="False" AllowSorting="True" AllowDraggingColumn="True" AllowDraggingRow="True"
ColumnSizer="Star" MaxSwipeOffset="150"
RowHeight="153" AllowSwiping="True"
SwipeEnded="dataGrid_SwipeEnded"
SwipeStarted="OnSwipeStart"
Swiping="OnSwiping"
GridTapped="dataGrid_GridTapped"
SelectionMode="Single" ItemsSource="{Binding AllPrograms}"
SelectedItem="{Binding SelectedItem}">
<sfgrid:SfDataGrid.LeftSwipeTemplate>
<DataTemplate>
<Grid BackgroundColor="#009EDA">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Image Grid.Column="0"
BackgroundColor="Transparent"
HorizontalOptions="Fill"
Source="edit.png">
<Image.GestureRecognizers>
<TapGestureRecognizer>
Command="{Binding OnDELETEClick}"
CommandParameter="{Binding .}"
</TapGestureRecognizer>
</Image.GestureRecognizers>
</Image>
<Label Grid.Column="1"
BackgroundColor="Transparent"
LineBreakMode="NoWrap"
Text="DELETE"
TextColor="White"
HorizontalTextAlignment="Start"
VerticalTextAlignment="Center" />
</Grid>
</DataTemplate>
</sfgrid:SfDataGrid.LeftSwipeTemplate>