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

This column appears when the grid has a hierarchical structure, to facilitate the expand/collapse functionality. The expand column is always placed in front of all other grid content columns and can not be moved.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class GridExpandColumn : GridColumn, IStateManager, IComparable

Inheritance: objectGridColumnGridExpandColumn

Implements: IComparableIStateManager

Inherited Members GridColumn.InitializeCell(TableCell, int, GridItem)GridColumn.GetFilterDataField()GridColumn.SupportsFiltering()GridColumn.ShouldSerializeFilterImageUrl()GridColumn.ShouldSerializeSortAscImageUrl()GridColumn.ShouldSerializeSortDescImageUrl()GridColumn.RefreshCurrentFilterValue(GridFilteringItem, string)GridColumn.RefreshCurrentFilterValue(GridFilteringItem)GridColumn.SetCurrentFilterValueToControl(TableCell)GridColumn.GetCurrentFilterValueFromControl(TableCell)GridColumn.EvaluateFilterExpression(GridFilteringItem)GridColumn.EvaluateFilterExpression()GridColumn.FunctionTakesNoArguments(GridKnownFunction)GridColumn.SetupFilterControls(TableCell)GridColumn.GetFilterFunctionsList(GridFilterListOptions, ArrayList)GridColumn.PrepareCell(TableCell, GridItem)GridColumn.LoadViewState(object)GridColumn.OnColumnChanged()GridColumn.SaveViewState()GridColumn.TrackViewState()GridColumn.ResetCurrentFilterValue(GridFilteringItem)GridColumn.ResetCurrentFilterValue()GridColumn.GetDefaultGroupByExpression()GridColumn.IsUniqueName(string)GridColumn.GenerateUniqueNameBase(string)GridColumn.TrySetOnClientClickScript(Control, GridItem, string, params string[])GridColumn.UpdateUniqueNameIfDefault(string)GridColumn.IsBoundToFieldName(string)GridColumn.GetCustomPropertyDataFields(object)GridColumn.HeaderTooltipGridColumn.HeaderAbbrGridColumn.HeaderAxisGridColumn.SortedBackColorGridColumn.CurrentFilterValueGridColumn.AndCurrentFilterValueGridColumn.ColumnGroupNameGridColumn.SelectedGridColumn.SortableGridColumn.CurrentFilterFunctionGridColumn.AndCurrentFilterFunctionGridColumn.FilterDelayGridColumn.ExportableGridColumn.EnableHeaderContextMenuGridColumn.ShowFilterIconGridColumn.FilterListOptionsGridColumn.AutoPostBackOnFilterGridColumn.FilterImageToolTipGridColumn.FilterControlToolTipGridColumn.EditorControlToolTipGridColumn.FilterImageUrlGridColumn.SortAscImageUrlGridColumn.SortDescImageUrlGridColumn.DataTypeNameGridColumn.ListOfFilterValuesGridColumn.FilterTemplateGridColumn.TableViewSpecificStateGridColumn.DesignModeGridColumn.FooterStyleGridColumn.FooterTextGridColumn.HeaderImageUrlGridColumn.HeaderStyleGridColumn.HeaderTextGridColumn.IsTrackingViewStateGridColumn.ItemStyleGridColumn.OwnerGridColumn.SortExpressionGridColumn.GroupByExpressionGridColumn.ViewStateGridColumn.ShowSortIconGridColumn.ShowNoSortIconGridColumn.DisplayGridColumn.OwnerIDGridColumn.OwnerGridIDGridColumn.ColumnTypeGridColumn.HeaderButtonTypeGridColumn.OrderIndexGridColumn.IsEditableGridColumn.IsDefaultUniqueNameGridColumn.EditFormColumnIndexGridColumn.EditFormHeaderTextFormatGridColumn.DataTypeGridColumn.FilterControlWidthGridColumn.FilterCheckListWebServiceMethodGridColumn.FilterCheckListEnableLoadOnDemandobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public GridExpandColumn()

Properties

Gets a Telerik.Web.UI.GridExpandColumnType value, indicating the type of the button. The button of the GridExpandColumn is by default of type SpriteButton.

C#
public virtual GridExpandColumnType ButtonType { get; set; }
Property Value:

A Telerik.Web.UI.GridExpandColumnType value, indicating the type of the button.

Gets or sets a string, specifying the URL to the image, which will be used instead of the default Collapse image for the GridGroupSplitterColumn (the minus sign).

C#
public virtual string CollapseImageUrl { get; set; }
Property Value:

A string, specifying the URL to the image, which will be used instead of the default Collapse image for the GridGroupSplitterColumn

Gets or sets a string, representing the CommandName of the GridExpandColumn. The command name's default value is "ExpandCollapse". It can be used to determine the type of command in the ItemCommand event handler. function GridCreated() { }

C#
public virtual string CommandName { get; set; }
Property Value:

A string, representing the CommandName of the GridExpandColumn.

Gets or sets a string, specifying the URL to the image, which will be used instead of the default Expand image for the GridGroupSplitterColumn (the plus sign).

C#
public virtual string ExpandImageUrl { get; set; }
Property Value:

A string, specifying the URL to the image, which will be used instead of the default Expand image for the GridGroupSplitterColumn

Gets or Sets the text value which should be added to alt attribute of the filter control

C#
public override string FilterControlAltText { get; set; }

Overrides: GridColumn.FilterControlAltText

Gets a Boolean value indicating whether the GridGroupSplitterColumn is groupable. This value is always false.

C#
public override bool Groupable { get; set; }
Property Value:

Gets a Boolean value indicating whether the GridGroupSplitterColumn is groupable.

Overrides: GridColumn.Groupable

C#
protected bool IsSkinEmpty { get; }

Gets a Boolean value, indicating whether the GridExpandColumn is reorderable. This value is always false, due to the specificity of the column, which should always be positioned first.

C#
public override bool Reorderable { get; set; }
Property Value:

A Boolean value, indicating whether the GridExpandColumn is reorderable.

Overrides: GridColumn.Reorderable

Gets a Boolean value, indicating whether the GridExpandColumn is resizable. This value is always false, due to the specificity of the column, which should always be positioned first.

C#
public override bool Resizable { get; set; }
Property Value:

A Boolean value, indicating whether the GridExpandColumn is resizable.

Overrides: GridColumn.Resizable

Gets the value determining if the column is selectable.

C#
public override bool Selectable { get; }
Property Value:

The value determining if the column is selectable.

Overrides: GridColumn.Selectable

Gets or sets a string, specifying the Unique name of the column. The default value is "ExpandColumn". function GridCreated() { }

C#
[Browsable(true)]
public override string UniqueName { get; set; }
Property Value:

A string, specifying the Unique name of the column.

Overrides: GridColumn.UniqueName

Gets a Boolean value, indicating whether the GridExpandColumn is visible. This value is always false, due to the specificity of the column.

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

A Boolean value, indicating whether the GridExpandColumn is visible.

Overrides: GridColumn.Visible

Methods

Creates a copy of the current column.

C#
public override GridColumn Clone()
Returns:

GridColumn

Overrides: GridColumn.Clone()

Note: When implementing/overriding this method be sure to call the base member or call CopyBaseProperties to be sure that all base properties will be copied accordingly

C#
protected override void CopyBaseProperties(GridColumn fromColumn)
Parameters:fromColumnGridColumn

Overrides: GridColumn.CopyBaseProperties(GridColumn)

C#
protected override string GenerateUniqueName()
Returns:

string

Overrides: GridColumn.GenerateUniqueName()

The Initialize method is inherited by a derived GridColumn class. Is is used to reset a column of the derived type.

C#
public override void Initialize()

Overrides: GridColumn.Initialize()

This method is mainly used to reset properties common for all column types derived from GridColumn class.

The Initialize method is usually called during data-binding, prior to the first row being bound.

C#
protected virtual bool ShouldSerializeCollapseImageUrl()
Returns:

bool

C#
protected virtual bool ShouldSerializeExpandImageUrl()
Returns:

bool