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
CardViewBinaryImageColumn Represents a data column used to display images from a binary stream.
CardViewButtonEditColumn Represents a data column with the button editor.
CardViewCheckColumn Represents a data column used to display and edit data from a Boolean data field.
CardViewColorEditColumn Represents a data column used to display and edit color values.
CardViewComboBoxColumn Represents a data column whose values are edited with the combo box editor.
CardViewDateColumn Represents a data column used to display and edit data from a DateTime data field.
CardViewDropDownEditColumn Represents a data column with an editor containing a customizable dropdown window.
CardViewHyperLinkColumn Represents a data column with hyperlink functionality.
CardViewImageColumn Represents a data column used to display images from specified URLs.
CardViewMemoColumn Represents a data column used to display and edit memo data.
CardViewProgressBarColumn Represents a data column with the Progress Bar editor.
CardViewSpinEditColumn Represents a data column used to display and edit numeric data.
CardViewTextColumn Represents a data column used to display and edit text.
CardViewTimeEditColumn Represents a data column used to display and edit time portions of DateTime values.
CardViewTokenBoxColumn 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.