Data Columns
- 2 minutes to read
Data columns are used to display and edit data. ASPxCardView supports both bound and unbound data columns.
- Bound data columns represent fields in ASPxCardView‘s data source. A column’s CardViewColumn.FieldName property refers to its bound data source field.
- Unbound columns are not bound to any field in a data source. These columns must be populated manually. See the following help topic for more information: Unbound Columns.
There are 15 types of server data columns.
Class Name | Description |
---|---|
Card |
Represents a data column used to display images from a binary stream. |
Card |
Represents a data column with the button editor. |
Card |
Represents a data column used to display and edit data from a Boolean data field. |
Card |
Represents a data column used to display and edit color values. |
Card |
Represents a data column whose values are edited with the combo box editor. |
Card |
Represents a data column used to display and edit data from a Date |
Card |
Represents a data column with an editor containing a customizable dropdown window. |
Card |
Represents a data column with hyperlink functionality. |
Card |
Represents a data column used to display images from specified URLs. |
Card |
Represents a data column used to display and edit memo data. |
Card |
Represents a data column with the Progress Bar editor. |
Card |
Represents a data column used to display and edit numeric data. |
Card |
Represents a data column used to display and edit text. |
Card |
Represents a data column used to display and edit time portions of Date |
Card |
A data column with the token box editor. |
On the client side, data columns are represented by ASPxClientCardViewColumn objects.
#Behavior
Since different data column types display different data types, each column provides its own editor. For example, a check box editor is used to edit Boolean values, while a DateTime editor is used to edit DateTime values. To access and customize the column editor’s settings, use the CardViewColumn.PropertiesEdit property.
Data columns provide a set of Boolean properties that enable you to specify which elements of a column’s functionality (sorting, filtering, etc.) are available to end users. Use the CardViewColumn.Settings property to access these options.
To make a column read-only, set its CardViewColumn.ReadOnly property to true
.
#Visibility
The column’s visibility is specified by its WebColumnBase.Visible property. Its position among other visible columns is specified by its WebColumnBase.VisibleIndex property.