Adding Columns to the Grid Control

To add columns to a grid control:

  1. Perform one of these tasks:

    • To add a data item to the grid from the BV associated with the form, double-click a data item in the Business View Columns Browser.

    • To add a data item to the grid that is not in the BV associated with the form, search for a data item in the Data Dictionary Browser, and then double-click it.

      Each time you double-click an item, Form Design Aid (FDA) adds it as a column to the grid control.

  2. Repeat step one until you have added all of the columns you need.

  3. Double-click the grid control.

  4. On Grid Properties, click the Columns tab and arrange the column order by selecting a column and then using the Up and Down buttons to shift its position in the list.

  5. Click the Sort Order tab and set the order in which the system will sort returned records by performing these steps:

    1. Select a data item in the Unsorted Columns list and click the right arrow. Repeat for each data item on which you want to sort.

      The data item moves to the Sorted Columns list.

    2. To toggle between displaying by ascending and descending order, click the data item in the Sorted Columns list.

      The letter A next to the data item indicates that the system will display records in ascending order. The letter D next to the data item indicates that the system will display records in descending order.

    3. Arrange the column sort order by choosing a column in the Sorted Columns list and then using the Up and Down buttons to shift its position in the list.