Data Columns
- 3 minutes to read
Data columns are used to display and edit data. The Bootstrap Card View supports bound and unbound data columns.
- Bound data columns represent fields in Card View’s data source. Their CardViewColumn.FieldName properties refer to valid fields in a data source.
- Unbound columns are not bound to any field in a data source and should be populated manually. For more information, see Unbound Columns.
There are fifteen types of server data columns.
Class Name | Description |
---|---|
Bootstrap |
Represents a data column used to display images from a binary stream. |
Bootstrap |
Represents a data column with the button editor. |
Bootstrap |
Represents a data column used to display and edit data from a Boolean data field. |
Bootstrap |
Represents a data column whose values are edited using the color editor. |
Bootstrap |
Represents a data column whose values are edited using the combo box editor. |
Bootstrap |
Represents a data column that automatically determines the type of its editors based on the type of a data field. |
Bootstrap |
Represents a data column used to display and edit data from a Date |
Bootstrap |
Represents a data column with an editor containing a customizable dropdown window. |
Bootstrap |
Represents a data column with a hyperlink functionality. |
Bootstrap |
Represents a data column used to display images from specified URLs. |
Bootstrap |
Represents a data column used to display and edit memo data. |
Bootstrap |
Represents a data column with the Progress Bar editor. |
Bootstrap |
Represents a data column used to display and edit numeric data. |
Bootstrap |
A data column with the tag box editor. |
Bootstrap |
Represents a data column used to display and edit text. |
Bootstrap |
Represents a data column used to display and edit time portions of Date |
On the client, data columns are represented by ASPxClientCardViewColumn objects.
#Behavior
Since different types of data columns present different types of data, they provide their own editors. For example, Boolean values are edited using a check box editor, while DateTime values are edited using a DateTime editor. 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. These options can be accessed using the CardViewColumn.Settings property.
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.