2X faster development
The ultimate WPF UI toolkit to boost your development speed.
When you use the GridTemplateColumn while entering Edit mode on a single tap, SfDataGrid cannot focus on a particular UIElement defined inside GridTemplateColumn.EditTemplate, but rest of the columns go for Edit mode in a single click. Hence, in order to enter the Edit mode on a single tap, you need to set focus to the control loaded inside the DataTemplate, explicitly. To set the focus to the control loaded inside the DataTemplate you can use the attached property FocusManagerHelper.FocusedElement. The attached property FocusManagerHelper.FocusedElement gives focus to a particular UIElement loaded inside the DataTemplate. So, you can enter the Edit mode in a single tap. You can refer the following code example. XAML
Sample Links: |
2X faster development
The ultimate WPF UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.