Click or drag to resize
GridColumn Properties

The GridColumn type exposes the following members.

Properties
  Name Description
Public property AndCurrentFilterFunction
Gets or sets the current second filter condition function.
Public property AndCurrentFilterValue
Gets or sets a value of the currently applied second filter condition value.
Public property AutoPostBackOnFilter
Gets or sets a value indicating whether the grid should automatically postback, when the value in the filter text-box changes, and the the focus moves to another element.
Public property ColumnType
Gets the string representation of the type-name of this instance. The value is used by KaxGrid to determine the type of the columns persisted into the ViewState, when recreating the grid after postback. The value is also used by the grid client-side object. This property is read only.
Public property CurrentFilterFunction
Gets or sets the current function used for filtering.
Public property CurrentFilterValue
Gets or sets a value of the currently applied filter.
Public property DataType

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

Public property DataTypeName
Gets the string representation of the DataType property of the column, needed for the client-side grid instance.
Public property Display
Gets or sets a value indicating whether the cells corresponding to a column would be rendered with a 'display:none' style attribute (end-user-not-visible). To completely prevent cells from rendering, set the Visible property to false, instead of the Display property.
Public property EditFormColumnIndex

Specifies the vertical collumn number where this column will appear when using EditForms editing mode and the form is autogenerated. See the remarks for details.

Public property EditFormHeaderTextFormat
String that formats the HeaderText when the column is displayed in an edit form
Public property FilterControlAltText
Gets or Sets the text value which should be added to alt attribute of the filter control
Public property FilterControlWidth

Use this property to set width to the filtering control (depending on the column type, this may be a normal textbox, KaxNumericTextBox, KaxDatePicker, etc.)

Public property FilterDelay
Public property FilterImageToolTip
Public property FilterImageUrl
Gets or sets a string representing the URL to the image used in the filtering box.
Public property FilterListOptions
Gets or sets the value indincating which of the filter functions should be available for that column. For more information see GridFilterListOptions enumaration.
Public property FilterTemplate
Gets or sets the template, which will be rendered in the filter item cell of the column.
Public property FooterStyle
Style of the cell in the footer item of the grid, corresponding to the column.
Public property FooterText

Use the FooterText property to specify your own or determine the current text for the footer section of the column.

Public property Groupable
Gets or sets a value indicating whether you will be able to group Kettic KaxGrid by that column. By default this property is true.
Public property GroupByExpression

The group-expression that should be used when grid is grouping-by this column. If not set explicitly, KaxGrid will generate a group expression based on the DataField of the column (if available), using the GetDefaultGroupByExpression method.

The grouping can be turned on/off for columns like GridBoundColumn using Groupable property.

For more information about the Group-By expressions and their syntax, see GridGroupByExpression class.

Public property HeaderAbbr
Public property HeaderAxis
Public property HeaderButtonType

Gets or sets the button type of the button rendered in the header item, used for sorting. The possible values that this property accepts are:

Kettic.AspNet.Controls.GridHeaderButtonType.LinkButton
Kettic.AspNet.Controls.GridHeaderButtonType.PushButton
Kettic.AspNet.Controls.GridHeaderButtonType.TextButton

Public property HeaderImageUrl
Gets or sets the URL of an image in the cell in the header item of the grid current column. You can use a relative or an absolute URL.
Public property HeaderStyle
Style of the cell in the header item of the grid, corresponding to the column.
Public property HeaderText
Use the HeaderText property to specify your own or determine the current text for the header section of the column.
Public property HeaderTooltip
Public property IsEditable

This property is supposed for developers of new grid columns. It gets whether a column is currently ReadOnly. The ReadOnly property determines whether a column will be editable in edit mode. A column for which the ReadOnly property is true will not be present in the automatically generated edit form.

Public property ItemStyle
Style of the cells, corresponding to the column.
Public property OrderIndex
Gets or sets the order index of column in the collection of RenderColumns. Use SwapColumns(String, String) method for reordering the columns.
Public property Owner
Gets the instance of the GridTableVeiw wich owns this column instance.
Public property OwnerGridID
Gets the value of the ClientID property of the KaxGrid instance that owns this column. This property value is used by grid's client object
Public property OwnerID
Gets the value of the ClientID property of the GridTableView that owns this column. This property value is used by grid's client object
Public property Reorderable
Gets or sets a value indicating whether the column can be reordered client-side.
Public property Resizable
Gets or sets a value indicating whether the column can be resized client-side. You can use this property, by setting it to false, to disable resizing for a particular column, while preserving this functionality for all the other columns.
Public property ShowFilterIcon
Public property ShowSortIcon
Get or Sets a value indicating whether a sort icon should appear next to the header button, when a column is sorted.
Public property SortAscImageUrl
Gets or sets a string representing the URL to the image used for sorting in ascending mode.
Public property SortDescImageUrl
Gets or sets a string representing the URL to the image used for sorting in descending mode.
Public property SortedBackColor
Public property SortExpression
The string representing a filed-name from the DataSource that should be used when grid sorts by this column. For example: 'EmployeeName'
Public property UniqueName
Each column in Kettic KaxGrid has an UniqueName property (string). This property is assigned automatically by the designer (or the first time you want to access the columns if they are built dynamically).
Public property Visible
Gets or sets a value indicating if the column and all corresponding cells would be rendered.
Top
See Also