GridColumnBuilderBaseTColumn, TColumnBuilderHtmlAttributes(Object) - метод

Sets the HTML attributes applied to the content cell of the column.

Пространство имён:  Telerik.Web.Mvc.UI.Fluent
Сборка:  Telerik.Web.Mvc (в Telerik.Web.Mvc.dll) Версия: 2011.1.315.340
Синтаксис
C#
public TColumnBuilder HtmlAttributes(
	Object attributes
)

Параметры

attributes
Тип: Object
The attributes.

Возвращаемое значение

Тип: TColumnBuilder
Примеры
C#
 <%= Html.Telerik().Grid(Model)
            .Name("Grid")
            .Columns(columns => columns.Bound(o => o.OrderID).HtmlAttributes(new {@class="order-cell"}))
%>
См. также