Example of Foreign Key Column in ASP.NET MVC Data Grid Control

In this sample, Customer Name column is a foreign column. You can perform filtering, sorting or editing in the foreign key column.

DEMO
SOURCE

Grid has option to show foreign key columns. It can be enabled by setting Column.DataSource property with either local or remote data and column field and text can be defined by using Column.ForeignKeyField and Column.ForeignKeyValue properties.

Transform your ASP.NET MVC web apps today with Syncfusion® ASP.NET MVC components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab