[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Collapse]Grid View
   [Expand]Product Information
    Getting Started
   [Expand]Fundamentals
   [Collapse]Concepts
    [Expand]Binding to Data
    [Collapse]Data Representation Basics
     [Expand]Cells
     [Collapse]Columns
       Data Columns
       Command Columns
      [Expand]Bands
      [Expand]Unbound Columns
       Fixed Columns
       Accessing Columns
       Creating Columns and Binding Them to Data Fields
       Column Moving
       Column Resizing
     [Expand]Rows
     [Expand]Customization Window
     [Expand]Context Menu Overview
      Customization Dialog
    [Expand]Focus and Navigation
    [Expand]Data Editing
    [Expand]Data Shaping and Manipulation
    [Expand]Data Formatting
    [Expand]Master-Detail Relationship
     Appearance Customization
     Adaptivity
     Save and Restore Layout
    [Expand]Templates
    [Expand]Export
     Toolbars
    [Expand]ASPxGridLookup
    ASPxGridView Designer
   [Expand]Visual Elements
   [Expand]Examples
   [Expand]Member Tables
   [Expand]ASPxGridView - Animated Images
  [Expand]Tree List
  [Expand]Card View
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Gauges
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Data Columns

Data Columns are used to display and edit data. ASPxGridView supports both bound and unbound data columns.

  • Bound data columns represent fields in ASPxGridView's data source. Their GridViewDataColumn.FieldName properties refer to valid fields in a data source.
  • Unbound columns are not bound to any field in a data source. These columns must be populated manually. For information, see Unbound Columns.

 

There are fifteen types of server data columns.

Class Name Description
GridViewDataBinaryImageColumn Represents a data column used to display images from a binary stream.
GridViewDataButtonEditColumn Represents a data column with the button editor.
GridViewDataCheckColumn Represents a data column used to display and edit data from a Boolean data field.
GridViewDataColorEditColumn Represents a data column used to display and edit color values.
GridViewDataComboBoxColumn Represents a data column whose values are edited using the combo box editor.
GridViewDataDateColumn Represents a data column used to display and edit data from a DateTime data field.
GridViewDataDropDownEditColumn Represents a data column with an editor containing a customizable dropdown window.
GridViewDataHyperLinkColumn Represents a data column with a hyperlink functionality.
GridViewDataImageColumn Represents a data column used to display images from specified URLs.
GridViewDataMemoColumn Represents a data column used to display and edit memo data.
GridViewDataProgressBarColumn Represents a data column with the Progress Bar editor.
GridViewDataSpinEditColumn Represents a data column used to display and edit numeric data.
GridViewDataTextColumn Represents a data column used to display and edit text.
GridViewDataTimeEditColumn Represents a data column used to display and edit time portions of DateTime values.
GridViewDataTokenBoxColumn A data column with the token box editor.

On the client, data columns are represented by ASPxClientGridViewColumn objects.

Expanded 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 GridViewEditDataColumn.PropertiesEdit property.

Data columns provide a set of Boolean properties that enable you to specify which elements of a column's functionality (sorting, grouping, etc.) are available to end-users. These options can be accessed via the GridViewDataColumn.Settings property.

To make a column read-only, set its GridViewDataColumn.ReadOnly property to true.

Expanded 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.

End-users can hide and show columns via the Customization Window.

Is this topic helpful?​​​​​​​