I have a grid with foreign key columns
columns.ForeignKey(c => c.LanguageID, (System.Collections.IEnumerable)ViewData["languages"], "Id", "Description").Title("Language").Width(200);I want to get the text value of the foreign key drop down value ie: English in this case for selected rows.
I can Iterate selected rows and get the dataItem grid.select().each(function () {
var dataItem = grid.dataItem($(this));
console.log(dataItem);
});
is there an easy way to read the description?
Thanks