Click or drag to resize
GridTemplateColumn Properties

The GridTemplateColumn type exposes the following members.

Properties
  Name Description
Public property Aggregate

Gets or sets the field name from the specified data source to bind to the GridTemplateColumn.

Public property AllowFiltering
Gets or sets whether the column data can be filtered. The default value is true.
Public property DataField
Gets or sets a string, specifying which DataField from the data source the control will use to handle the automatic filtering.
Public property EditItemTemplate
Gets or sets the ItemTemplate, which is rendered in the control in edit mode.
Public property FooterAggregateFormatString
Public property FooterTemplate
Gets or sets the template, which will be rendered in the footer of the template column.
Public property HeaderTemplate
Gets or sets the template, which will be rendered in the header of the template column.
Public property InitializeTemplatesFirst
Set to false if templates should overwrite other controls in header cell (sort image, etc)
Public property IsEditable
Gets a Boolean value, indicating whether the column is editable. If a template column is editable, it will render the contents of the EditItemTemplate in the edit form. If there are no contents in the EditItemTemplate, the column will not be editable.
(Overrides GridColumnIsEditable.)
Public property ItemTemplate
Gets or sets the ItemTemplate, which is rendered in the control in normal (non-Edit) mode.
Top
See Also