GridExpandColumn
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:
public class GridExpandColumn : GridColumn, IStateManager, IComparable
Inheritance: objectGridColumnGridExpandColumn
Implements:
Inherited Members
Constructors
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.
public virtual GridExpandColumnType ButtonType { get; set; }
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).
public virtual string CollapseImageUrl { get; set; }
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() { }
public virtual string CommandName { get; set; }
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).
public virtual string ExpandImageUrl { get; set; }
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
public override string FilterControlAltText { get; set; }
Overrides:
Gets a Boolean value indicating whether the GridGroupSplitterColumn is groupable. This value is always false.
public override bool Groupable { get; set; }
Gets a Boolean value indicating whether the GridGroupSplitterColumn is groupable.
Overrides:
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.
public override bool Reorderable { get; set; }
A Boolean value, indicating whether the GridExpandColumn is reorderable.
Overrides:
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.
public override bool Resizable { get; set; }
A Boolean value, indicating whether the GridExpandColumn is resizable.
Overrides:
Gets the value determining if the column is selectable.
public override bool Selectable { get; }
The value determining if the column is selectable.
Overrides:
Gets or sets a string, specifying the Unique name of the column. The default value is "ExpandColumn". function GridCreated() { }
[Browsable(true)]
public override string UniqueName { get; set; }
A string, specifying the Unique name of the column.
Overrides:
Methods
Creates a copy of the current column.
public override GridColumn Clone()
Overrides:
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
protected override void CopyBaseProperties(GridColumn fromColumn)
Overrides:
The Initialize method is inherited by a derived GridColumn class. Is is used to reset a column of the derived type.
public override void Initialize()
Overrides:
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.