<Syncfusion:SfDataGrid x:Name="datagrid"
AllowEditing="True"
AllowFiltering="True"
AllowSorting="True"
EditTrigger="OnTap"
AutoGenerateColumns="False"
ItemsSource="{Binding ItemsCollection}"
ShowGroupDropArea="True"
ShowRowHeader="True"/> |
this.datagrid.CurrentCellActivated += datagrid_CurrentCellActivated;
void datagrid_CurrentCellActivated(object sender, CurrentCellActivatedEventArgs args)
{
if(!datagrid.SelectionController.CurrentCellManager.CurrentCell.IsEditing && args.ActivationTrigger==ActivationTrigger.Keyboard)
datagrid.SelectionController.CurrentCellManager.BeginEdit();
} |