I was given this sample and it used to work
<GridForeignColumn Field=@nameof(Order.EmployeeID) ForeignKeyField="Id" HeaderText="Employee Name"
ForeignKeyValue="FirstName" ForeignDataSource="@Employees" Width="150">
<EditTemplate>
<SfAutoComplete @ref="autoObj" ID="EmployeeID" TItem="EmployeeData" TValue="int?" @bind-Value="@((context as Order).EmployeeID)" DataSource="@Employees">
<AutoCompleteFieldSettings Value="Id" Text="FirstName"></AutoCompleteFieldSettings>
<AutoCompleteEvents TValue="int?" TItem="EmployeeData" Filtering="OnFilter"></AutoCompleteEvents>
</SfAutoComplete>
</EditTemplate>
</GridForeignColumn>
Now when the user starts to Edit, it shows the
ForeignKeyField
instead of the
ForeignKeyValue. I believe it used to work, I'm not sure what happened.