GridViewTemplates.DataItem Property
Specifies a template to display data cells.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
ITemplate | null | An object that implements the ITemplate interface. |
Remarks
When you specify the DataItem
property, the control creates a template within a container object of the GridViewDataItemTemplateContainer type.
At the column level, use the GridViewDataColumn.DataItemTemplate property to create a template for the column data cells.
Refer to the Create Templates topic for information on how to create templates for the Grid View control’s elements.
See Also