Table Layout Template
The Table Layout Template is a layout template that can be used on a Data Page to format your data in a table. You have complete control over which columns to display, the column width, alignment, and how to format the data within each cell.
You may also consider the option of using a Grid Layout template to display your data, depending on your requirements.
On This Page
- Creating a Table Layout Template
- Configuring Columns
- Adding Columns
- Deleting Columns
- Re-Arranging Column Order
- Column Types
- Editing the Cell Template
- Row Actions and Edit Fields
Creating a Table Layout Template
You can create a Table Layout Template from within the Publishing & Workflow Wizard. If you later decide to insert a page, the wizard will also give you the option to choose Grid or Table layout. You can also change your layout to Table on the Page Template property on the Layout Settings property panel.
Configuring Columns
To configure the columns used by the table:
- Click on the Data Page
- Expand the Layout Settings Property Panel
- Click the Column Config Icon to launch the Column Configuration Dialog.
Adding Columns
To add a new column, click the 'Add Column' button at the top of the Column Config Window
Deleting Columns
To delete a column, click the red X next to the column in the Column Config Window
Re-Arranging Column Order
You can drag and drop within the Column Config window to change the column order
Column Types
There are 3 column types to choose from when creating a new column.
Field/Value
Select this option when you want to output a Field Value. After selecting this column type and selecting the field you want to use, you'll be able to edit the cell template, apply wildcard modifier functions and any other formatting you see fit.
Text/Image
Select this option when you want to define your own custom content for the Cell. Note, you can also use wildcard values in this cell. Post creation, this table cell type behaves exactly the same as the Field/Value column.
File Download Link
Select this option if you want to include a link to download a file. Select the file field (or PDF field) and a link will be created to download the file.
Common Column Settings
All columns share the following common properties as shown below. Note, the column Config Rule button provides the ability to create a rule based on the currently logged in user (only applies when your Workflow is secured), to determine if the column is displayed at all to the user. This can be used in conjunction with a link to an Edit Page to, for example, only give the ability to edit to a specific logged in user.
Editing the Cell Template
Clicking the Edit Value button will launch the Rich Text Editor where you can insert Wildcards, use Wildcard Modifier functions and Conditional Content. If your Workflow is Secured, you can also use the CurrentUser Wildcards.
You can use Workflow Links and Workflow Widgets within any column cell template by clicking the toolbar icons within the column value editor.
Row Actions and Edit Fields
There are a couple of widgets that work particularly well within a table cell.
The Edit Field Widget inserts an editable field area in the table cell so that the field value can be quickly updated by the end user.
The Row Action Widget inserts a series of buttons to enable Delete, Edit and Trigger Action functionality.
0 Comments