Editing a Table Data View

You can edit the data collection to include a title, description, and footer. You can also add, hide, or reorder fields.

Note: To remove a table data view, see Deleting an Element Using Breadcrumb Trails.

The following options are available in the editor toolbar:

  • After selecting the header of a field. align all nonheader cells in the field using Left, Center, or Right.
  • After selecting a data cell, you can select Bold, Italic, or Underline to format the style for the individual cell.

This task shows you how to:

Edit General Information

  1. From the toolbar, select View.
  2. Select Data View Details.
  3. Select General.
  4. Edit the following:
    • Title: Enter a title that is visible above the table. This does not modify the title of the data collection.
      Note: If you do not enter a new title, it uses the data collection title.
    • Description: Enter a description for the table below the title.
    • Footer: Enter a footer that displays under the table and the footnotes.

Insert a New Field

  1. From the toolbar, select View. Select Data View Details and click Fields. Select or right-click a field in the data view.
  2. Do one of the following:
    • Select and click New Field.
      Note: You can add a previously hidden field by selecting one from the list.
    • Select and click Insert. Insert the Field before or Field after.

Result: A New Field is visible in the table.

Insert a New Item

  1. You can insert a new column using the following methods:
    OptionDescription
    Using Data Explorer From the toolbar, select View. Select Data Collection Details. Select the appropriate data collection. In the Result section, select items in the Data row.

    Select in the upper-right corner.

    Using the Editor Toolbar Select a data cell in the table data view. In the editor toolbar, select either Item before or Item after.
  2. Optional: To delete an item, right-click a data cell in the item's row and select Delete.

Result: The new item is now visible in the data explorer and table data view. A value is automatically made for the primary key.

Change a Fields Data Type

Change a field's data type to display the data to your preference. You can also change the field's data type from the data collection view, see Edit Column Fields.

  1. Do one of the following:
    • From the toolbar, select View. Select Data View Details and click Fields. Select or right-click a field in the data view.
    • Hover over the column header and select the field data type or right-click the column header.
  2. From the menu, select Field Type and click one of the following data types:

    • Text
    • Number
    • Date Formating
    • Date and Time Formating
    • Boolean
    • Imagery

    A confirmation displays informing you of the risk of data loss.
  3. Select OK to confirm the change.

Result: Depending on the original data type and the new data type, the values in the field change to the new data type format.

Edit Column Fields

  1. From the toolbar, select View and then do one of the following:
    • Select Data Collection Details and click the appropriate data collection. In Result, select the field.
    • Select Data View Details and click Fields. Select or right-click a field in the data view.
  2. Choose from the following configuration options:
    OptionDescription
    Field Type Select one of the following field types: Text, Number, Date Formating, Date and Time Formating, Boolean, and Imagery.
    Date formatting For the Date and Date and Time field types: From a list of formats, select the appropriate format.
    Text Enter a value for either prefix or suffix.
    Style Turn on or off bold, italic, and underline to give the field a different style.
    When not set Enter a default value to replace any empty cells in the field.
    Table Cell You can select different horizontal and vertical alignments for nonheader cells in the column field. By default, string aligns left, Boolean aligns center, and the other data types align right.

    You can also change the vertical alignment which is most visible when using groupings or when cells contain multiple lines of text.

    Rounding For the Number field type only: Set the minimum number of digits before the decimal point and maximum number of digits after the decimal separator.
    Representation For the Boolean field type only: Choose to represent Boolean as a check box or select custom. If you select custom, you must enter a value for true and false.

Result: The nonheader cells in the field update based on your changes. Changing the field data type of a field can modify data which is denoted by an orange triangle, see Verifying Changes to Data Views.

Configuring Column Field Width

By default, a table data view distributes the available table width equally to all columns. You can adjust the proportion of this available table width for individual columns.

  1. Do one of the following:
    • Select or right-click a field header in the table data view.
    • From the toolbar, select View. Select Data View Details and click Fields. Select or click a value in the column.
  2. Select Set Width.
  3. From the Set Width dialog, enter an appropriate value.

    Note: The number must be positive and can be a floating point number. If the text entered in the table cannot be accommodated by the specified column widths, the editor adjusts the rendered table columns but not according to the proportions specified by you.

  4. Select OK.

Result: Based on the value provided, the column now expands or contracts. The column width settings are visible in any PDF rendered with this data view. When exporting to Word, Word uses its default settings.

Hide or Show a Field

You can hide one or more fields if their content is not important in the context of the documentation. If that content becomes valuable, you can show the field again.

  1. To hide a field, do one of the following:
    • Select the field header and then from the editor toolbar, select .
    • From the toolbar, select View. Select Data View Details and click Fields. Click and select Hide.
    The field is no longer visible in the table data view and the list of fields in Data View Details.
  2. To show a hidden field:
    1. From the toolbar, select View.
    2. Select Data View Details and click Fields.
    3. In the upper-right corner, select .
    4. From the list, select the appropriate hidden field.
    The hidden field now displays at the bottom of the list and as the furthest right field in the data view. See Moving Columns in Data Views to reorder the data view.