New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

The base abstract class representing the bindable columns in RadTreeList

Definition

Constructors

C#
protected TreeListDataColumn()

Properties

Gets or sets a whether the column data can be sorted.

C#
public virtual bool AllowSorting { get; set; }
Property Value:

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.

C#
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.

C#
[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

Should override if sorting will be disabled

C#
protected override bool Sortable { get; }

Overrides: TreeListColumn.Sortable

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.

C#
protected override string GetSortExpression()
Returns:

string

Overrides: TreeListColumn.GetSortExpression()

C#
protected override void InitializeDataCells(TableCell cell, int columnIndex, TreeListDataItem inItem)
Parameters:cellTableCellcolumnIndexintinItemTreeListDataItem

Overrides: TreeListColumn.InitializeDataCells(TableCell, int, TreeListDataItem)

C#
protected override void InitializeFooterCells(TableCell cell, int columnIndex, TreeListFooterItem inItem)
Parameters:cellTableCellcolumnIndexintinItemTreeListFooterItem

Overrides: TreeListColumn.InitializeFooterCells(TableCell, int, TreeListFooterItem)

C#
protected abstract void OnColumnDataCellBinding(object sender, EventArgs e)
Parameters:senderobjecteEventArgs