EditTapAction does not work

Wiht the lastr version of sfdatagrid 16.3.0.21 EditTapAction = true does not work.
Here below the code

 <sfgrid:SfDataGrid x:Name="ArticoliListino" Grid.Row="1"
                           GridStyle="{StaticResource mystylegrid}"
                           ItemsSource="{Binding ArticoliListino}"
                               AutoGenerateColumns="False"
                               Margin="8"
                               ColumnSpacing="0"
                               ColumnSizer="Star">

            <sfgrid:SfDataGrid.Columns x:TypeArguments="syncfusion:Columns">

                <sfgrid:GridTextColumn HeaderText="ARTICOLO" MappingName="IdArticolo" TextAlignment="Start" AllowEditing="True"/>
                <sfgrid:GridTextColumn HeaderText="DESCRIZIONE" MappingName="Descrizione" TextAlignment="Start" AllowEditing="True"/>
                <sfgrid:GridNumericColumn HeaderText="PREZZO" MappingName="Prezzo" TextAlignment="End"  NumberDecimalDigits="2" AllowEditing="True"/>
                <sfgrid:GridTextColumn HeaderText="SCONTO" MappingName="Sconto" TextAlignment="End" AllowEditing="True"/>

            </sfgrid:SfDataGrid.Columns>
        </sfgrid:SfDataGrid>

In the code behind 

 ArticoliListino.AllowEditing = true;
ArticoliListino.EditTapAction = TapAction.OnTap;



1 Reply

VR Vigneshkumar Ramasamy Syncfusion Team October 4, 2018 06:45 AM UTC

Hi Alberto,   
   
We have checked your query. To edit a cell you need to set “SfDataGrid.AllowEditing” property as “True” and additionally you have to set“SfDataGrid.SelectionMode” and “SfDataGrid.NavigationMode”.    
   
Refer the below code for reference:   
   
   
<sfgrid:SfDataGrid x:Name="dataGrid"    
                   SelectionMode="Multiple"   
                   NavigationMode="Cell"   
                   AllowEditing="True"   
                   AutoGenerateColumns="False"    
                   ItemsSource="{Binding OrderInfoCollection}"   
                   ColumnSizer="Star">   
   
    <sfgrid:SfDataGrid.Columns>   
        <sfgrid:GridTextColumn MappingName="OrderID"/>   
        <sfgrid:GridTextColumn MappingName="CustomerID"/>   
        <sfgrid:GridTextColumn MappingName="ShipCountry"/>   
        <sfgrid:GridTextColumn MappingName="Customer"/>   
        <sfgrid:GridTextColumn MappingName="ShipCity"/>   
    </sfgrid:SfDataGrid.Columns>   
</sfgrid:SfDataGrid>   
   
 
This is also mentioned in the Volume 3 release notes, please find the release notes link below. 
 
   
We have prepared a sample based on your requirement and you can download the same from the below link:   
 
Sample link: DataGrid
  
  
Please let us know if this helpful.  
Regards,   
Vigneshkumar R  


Loader.
Up arrow icon