After editing a cell, if I press ENTER it automatically starts editing the cell below; if I press TAB it automatically starts editing the cell at the right:
After pressing TAB:
I need to deactivate that behavior: Press ENTER or TAB should update the target cell and stop editing any other cell:
I tried using Navigable = "false" with no results. How can I achieve this?
This is the example code:
<TelerikGrid Data="Items" Navigable="false" EditMode="GridEditMode.Incell" Width="400px">
<GridColumns>
<GridColumn Field="Name" Title="Name" />
<GridColumn Field="Phone" Title="Phone" />
<GridColumn Field="Address" Title="Address" />
</GridColumns>
</TelerikGrid>
@code {
private List<Item> Items = new()
{
new Item {Name = "User1", Phone = "1111111", Address = "Address1" },
new Item {Name = "User2", Phone = "2222222", Address = "Address2" },
new Item {Name = "User3", Phone = "3333333", Address = "Address3" }
};
private class Item
{
public string Name { get; set; }
public string Phone { get; set; }
public string Address { get; set; }
}
}