I am setting up an editible grid and want to use the datasource version of the ForeinKey column.
columns.ForeignKey(d => d.AbbreviationId, ds => ds.Read(r => r.Action("GetAbbreviations", "API/Enum")), "Id", "Description").Width(100);
The dropdown list in the grid is filled properly etc., but the dropdown itself is not AutoWidth(true). To make this happen, I edited the GridForeignKey editor template. This does however not effect the dropdown.
When tested with a foreign key column that is filled via the ViewData[], this has the desired effect.