[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
  [Expand]Grid View
  [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
  [Collapse]Data Editors
   [Expand]Product Information
   [Collapse]Common Concepts
     Binding to Data
    [Expand]Mask Editing
    [Expand]Validation
    [Collapse]List Editors
      Multi-Column Mode of List Editors
     Accessibility Support
   [Expand]Editor Types
  [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

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.

Note

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.

Note

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

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