Add columns to a table

Add columns to a table and configure each column.

By default, two columns are added where data type=String, and control type=Text. You can edit these columns and add new columns. To add a column perform the following steps:

  1. In the Properties panel of the table control, click the Columns tab and click .

    The New column dialog box is displayed.

  2. Configure the following properties for a column.

    Name Description

    Display name

    Display name that appears as column header at runtime. For example, Customer name.

    Name

    Name to identify the column header during mapping.

    Note The name and display name can be the same.

    Align text

    Sets the alignment for the column text. (Default: left-aligned)

    Width (%)

    Width of the column based on the percentage value. (Default: 50)

    Enabled

    Enables the column for editing at runtime. (Default: Selected)

    Visible

    Makes the column visible at runtime. (Default: Selected)

    Data type

    Data type for the column. The available options are:

    • String
    • Date
    • Int16
    • Int32
    • Boolean
    • Decimal

    Type

    Display data in a table using any of the following controls:

    Note To display the data in a table at runtime, map the data to a table control using actions such as DB query, .NET Method or Redirect.

  3. Click Save.