Is it possible to set the column.values property after the grid has been initialized?
I tried this with no luck:
The grid was initially created using the MVC wrapper
I tried this with no luck:
var rankList = [ { value: 1, text: "Rank 1" }, { value: 2, text: "Rank 2" }, { value: 3, text: "Rank 3" }, { value: 4, text: "Rank 4" }, { value: 5, text: "Rank 5" } ];$kendoGrid.columns.filter(function (item) { return item.field === "Rank"; }).forEach(function (item) { item.values = rankList; }); //reset the grids columns $kendoGrid.setOptions({ columns: $kendoGrid.columns }); $kendoGrid.refresh();The grid was initially created using the MVC wrapper
.Columns(columns =>{ columns.Bound(p => p.UserAccountKey); columns.Bound(p => p.FirstName); columns.Bound(p => p.LastName); columns.Bound(p => p.EmailAddress); columns.Bound(p => p.Rank); columns.Command(command => { command.Edit(); command.Destroy(); });})