Represents a TreeListColumn which allows templating its content.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class TreeListTemplateColumn : TreeListEditableColumn, IMarkableStateManager, IStateManager, IComparable
Inheritance: objectStateManagerTreeListColumnTreeListDataColumnTreeListEditableColumnTreeListTemplateColumn...
Implements:
Inherited Members
Constructors
public TreeListTemplateColumn()
Properties
Gets or sets the field name from the specified data source to bind to the TreeListBoundColumn.
public virtual TreeListAggregateFunction Aggregate { get; set; }
A string, specifying the data field from the data source, from which to bind the column.
Convert the emty string to null when extracting values during data editing operations.
public bool ConvertEmptyStringToNull { get; set; }
Gets or sets an ITemplate implementation representing the edit template of the column.
[Browsable(false)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(TreeListEditableItem), BindingDirection.TwoWay)]
public virtual ITemplate EditItemTemplate { get; set; }
Gets or sets a string that is used to format the footer cell of the column.
public virtual string FooterAggregateFormatString { get; set; }
Gets or sets an ITemplate implementation representing the footer template of the column.
[Browsable(false)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(TreeListFooterItem), BindingDirection.TwoWay)]
public virtual ITemplate FooterTemplate { get; set; }
Gets or sets an ITemplate implementation representing the header template of the column.
[Browsable(false)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(TreeListHeaderItem), BindingDirection.TwoWay)]
public virtual ITemplate HeaderTemplate { get; set; }
Gets or sets an ITemplate implementation representing the insert template of the column. If not set, the EditItemTemplate is used for the insert form as well.
[Browsable(false)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(TreeListEditableItem), BindingDirection.TwoWay)]
public virtual ITemplate InsertItemTemplate { get; set; }
Gets or sets an ITemplate implementation representing the regular item template of the column.
[Browsable(false)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(TreeListDataItem), BindingDirection.TwoWay)]
public virtual ITemplate ItemTemplate { get; set; }
Methods
Creates the default column editor for the column.
public override ITreeListColumnEditor CreateDefaultColumnEditor()
A TreeListTemplateColumnEditor representing the default editor for this column.
Overrides:
Populates the passed values into the provided TreeListEditableItem.
[SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
public override void FillValues(IDictionary newValues, TreeListEditableItem editableItem)
An IDictionary collection of values.
editableItemTreeListEditableItemThe TreeListEditableItem which should be populated with the provided values.
Overrides:
protected override void InitializeDataCells(TableCell cell, int columnIndex, TreeListDataItem inItem)
Overrides:
protected override void InitializeFooterCells(TableCell cell, int columnIndex, TreeListFooterItem inItem)
Overrides:
protected override void InitializeHeaderCells(TableCell cell, int columnIndex, TreeListHeaderItem inItem)
Overrides: