How To : Setting up Columns on a MultiColumnList

Page Status: Beta

Back to Concepts and HOW TOs

Contents

[edit] Description

The headings of the columns for a MultiColumnList control are related to the elements of the collection to which the MultiColumnList control is bound. When selecting the column headings, you can choose any of the available elements in the collection, and you can rearrange the order as desired.

[edit] Prerequisites

Adding a Project to a Solution
Adding a Class to a Project
Adding a Function to a Class
Adding a Field to a Class
Adding a Form to a Class
Binding a Control to an Object

[edit] Procedure

To set up columns for a MultiColumnList control:

  1. Add a MultiColumnList control to your form.
  2. In the Property Editor, for Column Settings, click the ellipsis button. A dialog box is displayed.
  3. In the dialog box, click Populate. This inserts the fields from the collection into the top section of the dialog box. These fields are bound to the columns for the MultiColumnList control.
  4. Select one of the fields.
  5. In the bottom section of the dialog box, change the properties for the field as required. For example, to change the text used as the column heading, change the text for Title.
  6. Repeat Steps 4 and 5 for each field.
  7. To change the order of the columns, drag the fields in the top section of the dialog box up or down, as desired.

You can also add fields from locations other than the collection to which the MultiColumnList control is bound.

To add additional fields:

  1. At the top of the dialog box, click Add. A placeholder, called Header, is added to the list of fields.
  2. In the bottom section of the dialog box, use the Data property to set the source for the field's data.
  3. Change the name of the column by changing the text for Title.
  4. Change other properties as appropriate.

[edit] Error Handling

 

[edit] Examples

For a detailed example on using the MultiColumnList control, see the MultiColumnList control.

[edit] Next Steps

Simulating or Testing Your Project or Application
Posting Your Application
Deploying Your Application

[edit] Tags



Log in if you would like to rate this page.
    Copyright © 2005 - 2007 Bungee Labs. All rights reserved.