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

Base class for all bound columns in the Gantt grid, supporting data binding and display configuration.

Definition

Constructors

C#
public GanttBoundColumn()
C#
public GanttBoundColumn(string uniqueName, bool required)
Parameters:uniqueNamestringrequiredbool

Properties

Gets or sets a value indicating whether editing is enabled for this column.

C#
public bool AllowEdit { get; set; }

Gets or sets a value indicating whether sorting is enabled for this column.

C#
public bool AllowSorting { get; set; }

Implements: IBoundColumn.AllowSorting

Gets or sets the template that renders the column header content. By default, the header displays the value of the column's Title option. If sorting is enabled, the header content is wrapped in an anchor element, so the template must contain only inline elements.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[ClientControlProperty]
[ClientPropertyName("headerTemplate")]
[Browsable(false)]
public string ClientHeaderTemplate { get; set; }

Gets or sets the client template that renders the column content. The Gantt renders table rows for data source items. Each row has cells that map to the GanttList columns. By default, the HTML-encoded value of the field is displayed in the column.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[ClientControlProperty]
[ClientPropertyName("template")]
[Browsable(false)]
public string ClientTemplate { get; set; }

Gets or sets Specifies the data field in the underlying datasource that this column represents.

C#
public string DataField { get; set; }

Implements: IBoundColumn.DataField

Gets or sets the string that specifies the display format for items in the column.

C#
public string DataFormatString { get; set; }

Implements: IBoundColumn.DataFormatString

Gets or sets (see the Remarks) the type of the data from the DataField as it was set in the DataSource.

C#
[TypeConverter(typeof(DataTypeConvertor))]
public DataType DataType { get; set; }

Implements: IBoundColumn.DataType

The DataType property supports the following base .NET Framework data types:

  • String
  • Number
  • DateTime
  • Boolean
  • Other

Gets or sets the title text that will be displayed in the column's header.

C#
public string HeaderText { get; set; }

Implements: IBoundColumn.HeaderText

The unique name of the column within RadGantt columns. By default this is the name of the respective field in the data source.

C#
public string UniqueName { get; set; }

Implements: IBoundColumn.UniqueName

Gets the validation settings for the column

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public IColumnValidation Validation { get; }

Implements: IBoundColumn.Validation

Gets or sets a value indicating if the column and would be rendered.

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

This property returns a value, indicating wheth the column would be visible on the client.

Implements: IBoundColumn.Visible

The width of the column in pixels.

C#
public Unit Width { get; set; }

Implements: IBoundColumn.Width