Log In
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Collapse]Data Editors
   [Expand]Product Information
   [Collapse]Common Concepts
     Binding to Data
    [Expand]Mask Editing
    [Collapse]List Editors
      Multi-Column Mode of List Editors
     Accessibility Support
   [Expand]Editor Types
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [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]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Multi-Column Mode of List Editors

The ASPxComboBox and ASPxListBox editors from the ASPxEditors Suite allow their list data to be represented in several columns.


The multi-column mode is in effect only for editors that obtain their items from a data source.

An editor's column collection can be defined and customized through the Columns property. This is the ASPxComboBox.Columns property for the ASPxComboBox editor, and the ASPxListBox.Columns property for the ASPxListBox editor. The Columns property provides access to a collection of the ListBoxColumnCollection type. Collection items are represented by instances of the ListBoxColumn class.

Each column within an editor's column collection should be bound to a data source field via the ListBoxColumn.FieldName property. You can also define a column's header caption WebColumnBase.Caption, width (WebColumnBase.Width), visibility state (WebColumnBase.Visible), unique identifier (WebColumnBase.Name) and tooltip text (WebColumnBase.ToolTip).

For the ASPxComboBox control, all its advanced features, such as incremental filtering and loading items on demand via callbacks, are supported in multi-column mode. The selected item is represented within the ASPxComboBox editor's edit box, using a value whose format is based upon the ASPxAutoCompleteBoxBase.TextFormatString property's setting.


When you use a multi-column mode of list editors, item values are not saved to the ViewState. So, if you don't want to get data from data source on every page load (while performing DataBinding), you should organize your own cache (e.g. in the Session).

Expanded Online Demo

How would you rate this topic?​​​​​​​