TreeListDataColumn
The base abstract class representing the bindable columns in RadTreeList
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public abstract class TreeListDataColumn : TreeListColumn, IMarkableStateManager, IStateManager, IComparable
Inheritance: objectStateManagerTreeListColumnTreeListDataColumn
Derived Classes:
Implements:
Inherited Members
Constructors
protected TreeListDataColumn()
Properties
Gets or sets a whether the column data can be sorted.
public virtual bool AllowSorting { get; set; }
A boolean value, indicating whether the column data can be sorted.
Gets or sets the field name from the specified data source to bind to the TreeListDataColumn.
public string DataField { get; set; }
Gets or sets (see the Remarks) the type of the data from the DataField as it was set in the DataSource.
[TypeConverter(typeof(GridDataTypeConverter))]
public Type DataType { get; set; }
The DataType property supports the following base .NET Framework data types:
- Boolean
- Byte
- Char
- DateTime
- Decimal
- Double
- Int16
- Int32
- Int64
- SByte
- Single
- String
- TimeSpan
- UInt16
- UInt32
- UInt64
Methods
By default returns the SortExpression of the column. If the SortExpression is not set explicitly, it would be calculated, based on the DataField of the column.
protected override void InitializeDataCells(TableCell cell, int columnIndex, TreeListDataItem inItem)
Overrides:
protected override void InitializeFooterCells(TableCell cell, int columnIndex, TreeListFooterItem inItem)
Overrides: