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 |
---|---|
BootstrapCardViewBinaryImageColumn | Represents a data column used to display images from a binary stream. |
BootstrapCardViewButtonEditColumn | Represents a data column with the button editor. |
BootstrapCardViewCheckColumn | Represents a data column used to display and edit data from a Boolean data field. |
BootstrapCardViewColorEditColumn | Represents a data column whose values are edited using the color editor. |
BootstrapCardViewComboBoxColumn | Represents a data column whose values are edited using the combo box editor. |
BootstrapCardViewColumn | Represents a data column that automatically determines the type of its editors based on the type of a data field. |
BootstrapCardViewDateColumn | Represents a data column used to display and edit data from a DateTime data field. |
BootstrapCardViewDropDownEditColumn | Represents a data column with an editor containing a customizable dropdown window. |
BootstrapCardViewHyperLinkColumn | Represents a data column with a hyperlink functionality. |
BootstrapCardViewImageColumn | Represents a data column used to display images from specified URLs. |
BootstrapCardViewMemoColumn | Represents a data column used to display and edit memo data. |
BootstrapCardViewProgressBarColumn | Represents a data column with the Progress Bar editor. |
BootstrapCardViewSpinEditColumn | Represents a data column used to display and edit numeric data. |
BootstrapCardViewTagBoxColumn | A data column with the tag box editor. |
BootstrapCardViewTextColumn | Represents a data column used to display and edit text. |
BootstrapCardViewTimeEditColumn | Represents a data column used to display and edit time portions of DateTime values. |
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.