I have a SfDataGrid
in my Xamarin
code base and in that SfDataGrid
, there is an Entry
for each row. I have to set Focus
to the Entry
when I add an item. I add Items to the SfDataGrid via a popup.
So, are there any events exists to do that? if so, what would be the best way to implement that feature?
<SfDataGrid
SwipeEnded="DataGrid_SwipeEnded">
<SfDataGrid.Columns>
<GridTemplateColumn>
<GridTemplateColumn.HeaderTemplate>
</GridTemplateColumn.HeaderTemplate>
<GridTemplateColumn.CellTemplate>
<DataTemplate>
<CustomEntry
BindingContextChanged="Entry_ContextChanged"
Focused="Entry_Focused">
</CustomEntry>
</DataTemplate>
</GridTemplateColumn.CellTemplate>
</GridTemplateColumn>
</SfDataGrid.Columns>
</SfDataGrid>