我有一个看法:
<% Html.Grid(Model.InnerModel.OrderRecords)
.Empty("No data available")
.Attributes(new Hash(id => "RoadReportResultsTable"))
.Columns(column =>
{
column.For(x => x.OrderNumber);
column.For(x => x.DateReceived);
column.For(x => x.TotalCount);
column.For(x => x.DateSent);
column.For(x => x.SentCount);
column.For(x => x.Comments);
}).Render();
%>
我只需要使评论列可编辑,因此用户只能输入评论,但不能编辑任何其他列。
我想在评论点击打开一个弹出窗口