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

ContextMenu - GridContextMenuSettings

Gets the client events of the grid context menu.

Grouping - GridGroupableSettings

Editable - GridEditableSettings

NoRecords - GridNoRecordsSettings

Selectable - GridSelectableSettings

Excel - GridExcelSettings

Pdf - PDFSettings

Specifies if all pages must be exported.

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

StatusBarTemplate - String

StatusBarTemplateHandler - String

RowTemplate - HtmlTemplate

Filterable - GridFilterableSettings

ColumnMenu - GridColumnMenuSettings

If set to true the column menu would allow the user to fit one or all columns to the width of their content. This setting is available only when the tabbed componentType is used.

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

AllowPaste - Nullable

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

ScriptAttributes - IDictionary

ViewContext - ViewContext

ViewData - ViewDataDictionary

IsSelfInitialized - Boolean

IsInClientTemplate - Boolean

HasDeferredInitialization - Boolean

Selector - String

HasClientComponent - Boolean

Methods

Prefix(System.String)

Parameters

parameter - System.String

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

Render()

Renders the component.

ToHtmlString()

GetHtml(System.Boolean)

Parameters

includeScript - System.Boolean

GetInitializator()

WriteDeferredStyles(System.IO.TextWriter)

Writes the deferred styes.

Parameters

writer - System.IO.TextWriter

The writer.

DeferStyles()

ToClientTemplate()

In this article
Not finding the help you need?