GridCell<T>
Class
Represents a cell from Kendo Grid for ASP.NET MVC
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
C#
public class GridCell<T> where T : class
Inheritance: objectGridCell<T>
Inherited Members
Constructors
C#
public GridCell(GridColumnBase<T> column, T dataItem)
Properties
The grid column that contains the table cell.
C#
public GridColumnBase<T> Column { get; }
The data item to which the specified table row is bound.
C#
public T DataItem { get; }
HTML attributes of the table cell (<td>) rendered for the column.
C#
public IDictionary<string, object> HtmlAttributes { get; }
Determines whether the cell is in edit mode.
C#
public bool InEditMode { get; set; }
Determines whether the cell is in insert mode.
C#
public bool InInsertMode { get; set; }
The template which renders the column content.
C#
public HtmlTemplate<T> Template { get; }