我需要添加最后一列“action”,并在单元格 href 中设置<a href="/?page=@Id">details</a>
如何在 devexpress 中执行此操作?
@Html.DevExpress().GridView(
settings =>
{
settings.Name = "gvGrouping";
settings.Columns.Add("Id");//not visible
settings.Columns.Add("Service", "Сервис");
settings.Columns.Add("Action", "Action");//I have error
}
)