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.