Adding a Data Grid

You can create a data grid display control for your custom forms. This control is available in core forms and displayed in the main application and Mobility.

With the data grid control, you can:

  • Display a header and a list of rows based on a single, underlying linked data source.
  • Specify a vertical or horizontal heading row.
  • Specify values in a pipe-delimited list for each column in the heading row.

To add a data grid:

  1. Navigate to Maintenance > System Administration > Toolkit > Form Studio > Workflow Form.
  2. Create or edit a form:
  3. Click Add Row to add a row in the Visible Controls area.
  4. Select the row so that it appears grey in color.
  5. Select DATAGRID from the drop-down and click Add Field.
  6. Specify this information:
    Name
    Provide a name for the data grid.
    Heading Row
    Specify values in a pipe-delimited list for each column in the heading row.
    Note: You must also specify the locale for your header.

    default=|h1|h2~|~en=|h1value|h2value

    For example: default=|h1|h2~|~en=|Recorded|Type

    For more than one locale: default=|h1|h2|h3|h4~|~en=|heading1|heading2|heading3|heading4~|~de_de=|heading1|heading2|heading3|heading4

    Orientation
    Select Vertical or Horizontal from the drop-down field.
    Datasource
    Specify the name of the datasource from which you want to pull data.
    Number of rows
    Specify the number of rows.
  7. Click Save to save the workflow form.