New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Grid

Properties

DataSource - DataSource

The number of available pages.

DataSourceId - String

ValidationMetadata - IDictionary

TableHtmlAttributes - IDictionary

Resizable - GridResizableSettings

ColumnResizeHandleWidth - Int32

Reorderable - GridReorderableSettings

ToolBar - GridToolBarSettings

Grouping - GridGroupableSettings

Editable - GridEditableSettings

NoRecords - GridNoRecordsSettings

Selectable - GridSelectableSettings

Excel - GridExcelSettings

Pdf - PDFSettings

Specifies if the Print dialog should be opened immediately after loading the document.

Messages - GridMessages

PersistSelection - Nullable

Mobile - MobileMode

Width - String

Height - String

Size - ComponentSize

Search - GridSearchSettings

The fields by which the grid will search

EncodeTitles - Nullable

LoaderType - Nullable

ClientRowTemplate - String

ClientRowTemplateHandler - String

ClientAltRowTemplate - String

ClientAltRowTemplateHandler - String

RowTemplate - HtmlTemplate

Filterable - GridFilterableSettings

ColumnMenu - GridColumnMenuSettings

Specifies the component type of the column menu. "classic" - Uses the standard rendering of the column menu. or "modern" - Uses new rendering with a fresh and modern look and feel..

Scrollable - GridScrollableSettings

UrlGenerator - IUrlGenerator

EnableCustomBinding - Boolean

Pageable - GridPageableSettings

Gets or sets the Position property

Columns - IList

VisibleColumns - IList

PageSize - Int32

CurrentPage - Int32

Sortable - GridSortableSettings

PrefixUrlParameters - Boolean

RowAction - Action

CellAction - Action

NoRecordsTemplate - HtmlTemplate

Aggregates - IEnumerable

AutoBind - Nullable

AllowCopy - AllowCopySettings

AutoGenerateColumns - Boolean

IsEmpty - Boolean

IsClientBinding - Boolean

EditorHtml - String

HasDetailTemplate - Boolean

ShowGroupHeaderColumn - Boolean

DetailTemplate - HtmlTemplate

ClientDetailTemplateId - String

ClientDetailTemplateHandler - String

UrlBuilder - IGridUrlBuilder

Initializer - IJavaScriptInitializer

Events - IDictionary

Name - String

Id - String

ShouldSanitezeId - Boolean

ModelMetadata - ModelMetadata

HtmlAttributes - IDictionary

ViewContext - ViewContext

ViewData - ViewDataDictionary

IsSelfInitialized - Boolean

IsInClientTemplate - Boolean

HasDeferredInitialization - Boolean

Selector - String

HasClientComponent - Boolean

Methods

WriteInitializationScript(System.IO.TextWriter)

Parameters

writer - System.IO.TextWriter

Serialize()

VerifySettings()

CustomCommandToolBarButton(System.String,System.String,System.String,System.String,System.Object)

Parameters

name - System.String
text - System.String
actionName - System.String
controllerName - System.String
routeValues - System.Object

CustomCommandToolBarButton(System.String,System.String,System.String,System.String,System.Object,System.Object)

Parameters

name - System.String
text - System.String
actionName - System.String
controllerName - System.String
routeValues - System.Object
htmlAttributes - System.Object

CustomCommandToolBarButton(System.String,System.String,System.String,System.Web.Routing.RouteValueDictionary,System.Object)

Parameters

name - System.String
text - System.String
routeName - System.String
routeValues - System.Web.Routing.RouteValueDictionary
htmlAttributes - System.Object

CustomCommandToolBarButton(System.String,System.String,System.String,System.Object)

Parameters

name - System.String
text - System.String
url - System.String
htmlAttributes - System.Object

CustomCommandToolBarButton(System.String,System.String,System.String)

Parameters

name - System.String
text - System.String
url - System.String

CustomCommandToolBarButton(System.String,System.String,System.Object)

Parameters

name - System.String
text - System.String
htmlAttributes - System.Object

CustomCommandToolBarButton(System.String,System.String)

Parameters

name - System.String
text - System.String

EditButton(Kendo.Mvc.UI.T,System.String,System.Object)

Parameters

dataItem - T
text - System.String
htmlAttributes - System.Object

EditButton(Kendo.Mvc.UI.T,System.Object)

Parameters

dataItem - T
htmlAttributes - System.Object

EditButton(Kendo.Mvc.UI.T,System.String)

Parameters

dataItem - T
text - System.String

EditButton(Kendo.Mvc.UI.T)

Parameters

dataItem - T

DestroyButton(Kendo.Mvc.UI.T,System.String,System.Object)

Parameters

dataItem - T
text - System.String
htmlAttributes - System.Object

DestroyButton(Kendo.Mvc.UI.T,System.Object)

Parameters

dataItem - T
htmlAttributes - System.Object

DestroyButton(Kendo.Mvc.UI.T,System.String)

Parameters

dataItem - T
text - System.String

DestroyButton(Kendo.Mvc.UI.T)

Parameters

dataItem - T

CreateButton(System.String,System.Object)

Insert Create button with custom HtmlAttributes and text

Parameters

text - System.String
htmlAttributes - System.Object

CreateButton(System.Object)

Insert Create button with custom HtmlAttributes

Parameters

htmlAttributes - System.Object

CreateButton(System.String)

Insert Create button with custom text

Parameters

text - System.String

CreateButton()

Insert Create button with custom HtmlAttributes and text

SaveButton(System.String,System.String,System.Object)

Insert Save button with custom HtmlAttributes and texts

Parameters

saveText - System.String
cancelText - System.String
htmlAttributes - System.Object

SaveButton(System.String,System.String)

Insert Save button with custom save and cancel text

Parameters

saveText - System.String
cancelText - System.String

SaveButton(System.Object)

Insert Save button with custom HtmlAttributes

Parameters

htmlAttributes - System.Object

SaveButton()

Insert Save button with custom HtmlAttributes and texts

Prefix(System.String)

Parameters

parameter - System.String

Render()

Renders the component.

ToHtmlString()

GetHtml(System.Boolean)

Parameters

includeScript - System.Boolean

GetInitializator()

ToClientTemplate()

In this article
Not finding the help you need?