Does the GridColumn.Template work if set in the controller rather than the view? I'm trying a pretty straightforward example, but it doesn't seem to have any affect on how the cells are rendered. Is there any reason it would fail silently?
Thanks Borislav! I really appreciate you going to all the trouble of putting together an entire VS solution for this. Unfortunately, when run, it only displays a blank page, no grid. I went to /Model/DefinedColumns as well, but no dice, blank page.
Hi Josh,This is what I've tried in the sample I'm attaching to this reply:
gridModel.Columns = new List<GridColumn>();gridModel.Columns.Add(new GridColumn("Project Id", "ProjectId", "number", "100px"));gridModel.Columns[0].Template = "Project ID: ${ProjectId}";