开发者

Html.Grid: What is IGridColumn.Attributes()?

I am new to MVC2 and I am using Html.Grid on my view.

I would like to know what Attributes() is in the following context and for what purpose and how it is used?

<%= Html.Grid<MyViewModel>(Model.MyPagedList)
        .Columns( column => {
             column.For(x => x.Amount).Attributes(...

I 开发者_高级运维couldn't find much on Google.

Thanks.


With David's help figured out that this is used to set the html attributes. Ref: Html.Grid right align data in column

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜