Also how can I define a BackgroundColor ? If I define on Grid Swiping is not working referring to my old ticket
. If I define directly over sfgrid:SfDataGrid as below, It has no impact at all
<sfgrid:SfDataGrid x:Name="grid" ScrollingMode="PixelLine" AbsoluteLayout.LayoutBounds="0,0,1,1" AbsoluteLayout.LayoutFlags="All" BackgroundColor="Gray" RowSpacing="5"
ItemsSource="{Binding WorkoutSetWeightLogs}"
VerticalOptions="FillAndExpand" RowHeight="100"
AutoGenerateColumns="False"
AllowSorting="False"
IsEnabled="True"
ColumnSizer="Star"
AllowSwiping="True"
AllowDraggingRow="True"
AllowDraggingColumn="False"
SelectionMode="None"
GridTapped="dataGrid_GridTapped"
PropertyChanged="dataGrid_PropertyChanged"
SwipeEnded="dataGrid_SwipeEnded"
SwipeStarted="dataGrid_SwipeStarted"
>
<sfgrid:SfDataGrid.Columns>
<sfgrid:GridTemplateColumn HeaderFontAttribute="Bold"
HeaderText="SETS"
MappingName="SetNumber">
<sfgrid:GridTemplateColumn.HeaderCellTextSize>
<OnIdiom Phone="12"
Tablet="15"
x:TypeArguments="x:Double" />
</sfgrid:GridTemplateColumn.HeaderCellTextSize>
<sfgrid:GridTemplateColumn.CellTemplate>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
<!--<ColumnDefinition Width="64"></ColumnDefinition>-->
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="64"></RowDefinition>
</Grid.RowDefinitions>
<!--<controls:NumberLayout NumberText="{Binding SetNumber}" Grid.Row="0" Grid.Column="0" />-->
<StackLayout Orientation="Vertical" Grid.Row="0" Grid.Column="0" VerticalOptions="Center" >
</StackLayout>
</DataTemplate>
</sfgrid:GridTemplateColumn.CellTemplate>
</sfgrid:GridTemplateColumn>
</sfgrid:SfDataGrid.Columns>
</sfgrid:SfDataGrid >