Telerik Extensions for ASP.NET MVC

Enables or disables sorting the column. All bound columns are sortable by default.

Namespace: Telerik.Web.Mvc.UI.Fluent
Assembly: Telerik.Web.Mvc (in Telerik.Web.Mvc.dll) Version: 2012.2.611.235 (2012.2.611.235)

Syntax

C#
public GridBoundColumnBuilder<T> Sortable(
	bool value
)
JavaScript
function Sortable(value);

Parameters

value
Type: System..::..Boolean

Examples

CopyC#
 <%= Html.Telerik().Grid(Model)
            .Name("Grid")
            .Columns(columns => columns.Bound(o => o.OrderDate).Sortable(false))
%>

See Also