Back Forward Harness, Section, and Flow Action forms
Adding a Grid layout

About Harness rules

  Show all 

A Grid layout allows users to view (and possibly edit) values in a spreadsheet format of a Page List or Page Group property, or a Report Definition. GRP-7426 This layout, as an improved alternative to Row Repeat, Column Repeat, or Tabbed Repeat, controls when large amounts of data need to be displayed. The layout can display a custom skin; is cross-browser compatible; is sortable by column; fields can be configured to be editable and localizable. PROJ-185 Sequoia See Pega Developer Network article PRKB-26089 How to add a Grid layout to a section for an example.

 Adding and configuring a Grid layout

You can quickly add a grid layout to a section in either of two ways:

Start with the data

  1. Select or create a section to hold the layout.
  2. In the Application Explorer, select the Page List, Page Group, or Report Definition you want to use in your layout and drag it to the section.

    If the Report Defintion is a summary type (contains one or more columns using a Summary Function), the layout defaults to a Tree Grid. See Adding a Tree Grid layout. V6.2 GRP-23358 RD as source – pashm
  3. Drop the rule above or below the default layout. In the pop-up dialog that appears (does not appear for Report Definition), select Grid as the layout type.
  4. Delete any default layout you do not need.
  5. Complete the configuration steps described in this topic.

Start with the layout

  1. Select or create a section.
  2. Click the down-arrow (Arrow) at the right end of the Layout group (Layout group) and select Layout (Layout).
  3. Click and drag the layout onto the section. When the pointer changes shape to indicate that you can drop the layout, release the mouse button.
  4. On the Layout Options form:
    1. Click the Repeating radio button.
    2. Select Grid as the repeat type.
    3. Click OK.
  5. Delete any default layout you do not need.
  6. Complete the configuration steps described in this topic.

To delete a Grid layout, select the layout and click the Delete Row button (). Do not use the Delete Cell button for this action.

How to use the properties panels

You configure many elements in a grid layout using properties panels. To display the panels, turn on the wireframe, select an element, and click the magnifying glass icon (Magnifying glass). To select an element, click the following:

Property fields may appear at the top of the panel, or in one or more tabs. If the panel is pinned (Pinned), click Apply to apply your changes. Click the red x at the top right of the panel to close it. If the panel is not pinned, click Apply to apply your changes and continue editing, or OK to apply your changes and close the panel.

 Parts of a Grid layout

The Grid layout has three areas:

 Adjust the grid repeat layout area

grid header

Select the Grid Repeat Layout header and open the properties panel. Configure the layout using the following fields:

Field

Description

Format

Choose a format to control what appears above the layout (known as a header or subheader), and the appearance of both the header and any subheader, and aspects of the body.

This choice primarily affects styles and appearance. Information in or below a subheader (including Hidden Sub) presents information that is right-indented from information in a header.

Using the Branding wizard, you can review or revise the styles (colors, fonts, padding and margins) associated with each header or subheader format.

Group/Selection

Description

Default

 
No Format No header or subheader appears. In addition, no styles applied to the body that are specific to this layout, including background, fonts, colors, padding, margins, and so on. The appearance of the body depends on styles of the enclosing control (which may be another layout).

Header

 

Standard For a bolder or more prominent header.
Custom For a custom header. Select in the HTML field an HTML rule that defines the content and appearance of the custom header.
Hidden For no header. (This option is not available for the top-level of a harness rule).

SubHeader

 

Standard (sub) For a bolder or more prominent sub header.
    A

  B

  C

  D


These names are provided so that you can apply separate styles to up to six types of subheaders (including the basic SubHeader). For example, if your forms include three hierarchical levels of subheaders, you can select A for the highest level, B for the middle level, and C for the lowest level.

In the standard style sheets, these subheaders function identically; they differ only in minor ways in the presentation of the subheader:
  • A — No bar in the subheader
  • B — Underlined subheader label
  • C — Outline border
  • D — Black font
Simple Preserves V5.5 flow action styles for layouts created from V5.5-style flow actions. BUG-26946 V6.1SP1.
Outline Provides no header area, but a border around the contents of the layout with a single text label. (This produces HTML FieldSet and Legend elements.)
Hidden (Sub) Provides no subheader, but indented body.
In the workform CSS style sheets, the various styles named groupTitleBarzzzz define the appearance of the SubHeader element; for example groupTitleBarBackground. For A, the corresponding styles are named a_groupTitleBarBackground and so on. Similarly, the names of styles for B, C and D start with b_groupTitleBar, c_groupTitleBar, and d_groupTitleBar respectively.
Title Optional. Enter text to appear in the header or subheader. This text may include directives or JSP tags, such as <p:r > or <pega:lookup >.

If you plan to localize the application using this rule so the application can support users in various languages or locales, choose the text carefully and limit the length to no more than 64 characters. When practical, choose a caption already included in a language pack, to simplify later localization. A field value rule with this text as the final key part is needed for each locale. See About the Localization wizard.

This field is not visible if the Format field contains No Format, Hidden, or Hidden (Sub).

Visible When

Optional. To control visibility of this header, enter or select one of the following:

  • Leave blank to always present the header.
  • SmartPromptA when condition rule. Click the pencil icon (Pencil) to review or create the when condition rule.
  • Expression evaluated once — Enter an expression that returns true or false. This expression can involve multiple properties, function calls, and other syntax as supported by the <pega:when > JSP tag.

To make a dynamic condition, enter a simple Java comparison of a property and a value, or a combination of such comparisons using parentheses and the && and || operators, such as:

(.Width >= "20") && (.Length >= "40)

This causes dynamic execution of the condition each time the value of a property mentioned in the condition changes. (Mark the fields containing such properties as a Client Event.)

HTML SmartPrompt Appears when you select the Custom format. Identify the second key part (Stream Name) of an HTML rule that defines the display of the header contents.

General tab

Depending on your Format choice, you may see here a Header Type field. The available options are:

Bar Provides a static horizontal bar at the top of the layout.
Collapsible Provides a horizontal bar at the top of the layout, with the ability to expand or collapse, to show or hide the layout, when clicked
Tabbed Creates a new TabGroup to which additional layouts can be added.
Accordion Creates a new group of layouts that contain collapsible headers. Only one layout can be displayed at once.

Depending on your Header Type or Format choices, you may see one or more of these fields:

Expand When SmartPrompt Optional. Select a when condition rule to control whether this layout first appears expanded or collapsed. If you leave the field blank, the state of the layout (expanded or collapsed) when you save the Harness, Section, or Flow Action form becomes the state the next time the grid is displayed.
Defer Load? Appears for Tabbed or Accordion values of the Header Type. Select if you want the system to retrieve only the data necessary for the current tab or accordion display. When another tab or accordion is selected, the system will retrieve further data for it. This speeds up first display of the page.
Retrieve Activity SmartPrompt Appears when you select Defer Load. Select the activity that will retrieve the data.
New Tab Group For Header Type of Tabbed only. Select to present this tab as the first in a distinct group of tabs, identified by indenting and optionally styles.
New Layout? For Header Type of Accordion only. Select to start this accordion element as the first in a group.
Template Styles If you selected a Tabbed or Accordion header style, choose a SmartLayout template to control the number of columns created.
Width Select a grid-width option to determine whether the width of the individual columns within the layout (action and repeating areas) are set as a percentage or in pixel values. Use the options as follows:
px To set minimum column widths within the layout during runtime. A column expands if the content exceeds its minimum width.
%

To have column widths measured as fractions of the total width of the layout area. The widths of the matrix columns (specified in pixels) collectively represent 100% of the whole. For instance, if the three column widths are 250, 250, and 500 pixels, then the first two columns are each 25% of the total; the last column is 50%.

During runtime, a column expands if the content exceeds its minimum width.

px-fixedTo specify the column widths within the layout exactly as the fixed column width during runtime.
CautionThe display may truncate (partially obscure) a data value if the value is wider than width defined by the pixel value. The user can resize the columns to view the truncated content.
Paging

Optional. Choose a format for presenting the data results in segments — known as pages — each containing a fixed number of rows (defined in the Rows per Page setting). The system retrieves a segment from the total data set on the clipboard and presents the page navigation controls in a format defined in this option. You can drag and drop rows in all paging options.

When you select an option, the paging gadget (pyGridPaginator section) appears in the right top Action area cell. You can drag and drop the gadget onto any cell in an action area (do not drop into the repeating area).

If the results produce less than one page, the paginate gadget does not appear at runtime. V6.2 GRP-23116 pashm

The options are:

None No paging (default).
Page 1 of X Presents an editable page number and a total page count. To navigate, users edit the number and press Enter, or use the navigation buttons.
Page 1,2,3...

Presents the first group of N links as page 1, the second group as page 2, and so on, where N is the total number of rows divided by the Rows per Page value plus 1 if the total row number is not an exact multiple of rows per page. For example, if the Rows per Page value is 20 and the report contains 207 rows, the first page contains rows 1 to 20, and the last (11th) page contains the final 7 rows. To navigate, users click a number to open a page ( 1, 2, ...) within the range. The display is limited to 10 pages. If there are more than 10 pages, users can click (... ) to advance to the next group.

Rows 1 - Y Presents a range of rows (defined in the Rows per Page field) in a drop-down list. To navigate, users select a range in the drop-down list or use the navigation buttons.
First X Results Presents the data in either of two page views. The first view is a subset of the data on the clipboard and comprises the top rows defined by the Rows per Page setting. For example, if the setting is 50 and there are 200 rows on the clipboard, a label at the top of the list reads "Showing 50 of 200."

To view the entire data set (200 in this example), the user clicks the Show All link. This enables a user to drag rows at the top of the set and drop them onto the bottom. The other paging options break large data sets into individual pages and do not have this capability.

The user can toggle click the link to toggle between the first and total views.

In cases where the data set is large and performance is an issue, you can populate the clipboard incrementally using the Paginate Activity on the Advanced tab.

Rows per Page Appears if you select a Paging option. Select the row limit per page (20 is the default). To specify a custom value, select Other and enter a positive integer in the empty field.
Style Appears if header type is Bar or Collapsible. Select a style for previewing the repeating area elements (text, borders, backgrounds, and images) as defined in the workform CSS text file created by the Branding wizard. Specify the appropriate skin in your Designer Studio General Preferences panel. The initial settings are as follows:
Default New skin rule default style or the QuickCreate settings.
Spreadsheet Solid borders and blue gradient headers.
Transparent Transparent backgrounds and borders.

Use the Branding wizard to modify the settings for any of the styles. Open the 4. Styles and Formats panel in the wizard and select Category Layouts >> ElementRepeating >> Format Spreadsheet, Default, or Transparent. See Branding wizard — Layouts.

Advanced tab

Header Image To add a header image at the top of the Grid:
  1. Open its property panel for this field to start the Image Catalog (a pop-up version of the Image Gallery landing page).
  2. Search for the image you want to use by entering a text string in the Search field and clicking Find.
  3. Select an image from the resulting display: at the top right of the panel details about the image appear.
  4. To use the selected image, click OK.

noteThe image must already be present in a binary file rule that is part of your application; you cannot search your local computer or the Internet through the Image Catalog.

Image Title Appears when you select a Header Image. Add text here to describe the image: those using assistive devices will hear this title although they may not be able to perceive the image.
Style Prefix

Optional. If the Header Type is Tabbed or Accordion, this field provides the ability to reference a family of custom styles for headers. Enter a single letter or a few letters that designate a collection of styles for this header.

For example, type A in this field to use styles named .A_standardheader* rather than the normal .standardheader* styles. Define the prefixed styles in your workform_zzzzz.css text file (created by the Branding wizard) or in another text file that you identify on the Scripts and Styles tab of the Harness form.

To learn more about style sheets, see Understanding CSS styles.
Paginate Activity Optional. Appears if you selected a paging option in the Paging field on the General tab, and the data source is a Page List or Page Group property. V6.2 GRP-21887 Extended for filtering - pashm

You cannot use this activity with a Report Definition source.

SmartPrompt Select a custom activity that populates the clipboard from a Page List in a page size you define. Because the activity limits clipboard size, this option is useful when retrieving large amounts of data from an external Web service or database. You can also use this activity to control sorting and filtering behavior.

For guidance on configuring the parameters in your activity, use the standard activity pyTemplateAdvancedGridActivity.

Activity Sorting Appears if you enter a Paginate Activity. Select if you want the activity to control sorting behavior. For example, if a user is on the fifth page and clicks the sort control on the grid header the above mentioned parameters are passed to the activity, which populates the clipboard with the first page of the entire data sorted on the column represented by the parameter sortProperty.

If you do not select this option, the Obj-Sort method is applied to the page in view mode only.

Activity Filtering Appears if you enter a Paginate Activity. Select if you want the activity to control filtering behavior. V6.2 GRP-21887 pashm

Title cell properties

If you select the Standard or Standard (sub) formats, a cell appears to the right of the grid's title.

grid title field

Open the properties panel to set the following values:

Value SmartPrompt Select a field value that appears as the column title.
Label For SmartPrompt Indicate the property that appears in this column in the repeating rows.

General tab

Visible Select one of the options presented. The default is Always. If you select Other Condition, the Condition field appears. Select or create the when rule that governs this cell's visibility.
Required Select this option to make this a required field if the user adds data to the display.
Wrap Text Select this option so that long text entries in this field appear over multiple lines, rather than requiring a scrollbar.
Read Only Select this option to prevent edits to this field. You can refine this control by selecting or creating a when rule in the SmartPrompt Read Only Condition field that appears when you select this option.

Advanced tab

Width Specify the cell width in pixels.
Height Specify the cell height in pixels.
Default Value Specify a default value for this field. Click the magnifying glass icon (Magnifying glass) to display the Expression Builder, where you can select or create an expression to generate the default value. Leave the field blank if it does not require a default value.
Read-Write Style SmartPrompt Displays the stylesheet settings for this cell when editing is enabled.
Read-Only Style SmartPrompt Displays the stylesheet settings for this cell when editing is disabled.
Inline Style Optional: Override the stylesheet settings in this cell with local values.

Enter CSS code for an inline style for a cells in the column. For guided assistance in composing a style definition, click the magnifying glass icon (Magnifying glass) to open the Style Editor. You can select from predefined lists or type a style definition directly, and preview the results.

Use Heading Styles Select to display the cell values with the same style the column heading uses — changes the cell HTML element from <TD> to <TH>, with a resulting style change.

  Adjust the Repeat Grid repeating area

grid repeating area
Select the Repeat Grid header and open its properties panel to set the following values:

Source Select either a Property (default) or a list-type Report Definition as the data source. You cannot select a summary-type Report Definition.
List/Group SmartPrompt If you specified Property, select the Page List or Page Group property as the data source.
Applies To SmartPrompt If you specified Report Definition, select the Applies To key part of the rule.
Report Definition SmartPrompt If you specified Report Definition, the list contains list-type reports. Select the Report Name key part of the rule.

See About Report Definition rules.

General tab

Edit Mode Choose from the displayed options:
Read-OnlyThe row's data cannot be edited. You can allow the user to display the flow action's fields (read only) by selecting the Show Details option.

If the data source is a Report Definition, this is the default value and cannot be edited.

Read / WriteEditable fields display the data in input boxes.
InlineThe displayed data appears in read-only mode. When the user clicks a row, the editable fields in that row display as editable.
Modal Dialog The displayed data appears as in read-only mode. When the user clicks a row, the editable fields for the flow action appear in a modal window on top of the data display. When the modal window is dismissed, the edits are applied.
Embedded Pane The displayed data appears as in read-only mode. When the user clicks a row, editable fields for the flow action populate a detail area below the grid. When the user saves the edits or selects another row, the edits are applied.
Expand PaneThe displayed data appears as in read-only mode. When the user clicks a row, the flow action's editable fields populate a detail area below the selected row. When the user saves the edits or selects another row, the edits are applied. V6.2 GRP-4336 pashm
For Modal Dialog, Embedded Pane, and Expand Pane, click the pencil icon next to the field to open the template section rule used to render the layout. By default, the templates are standard rules .pyGridModalTemplate, .pyGridDetails , and .pyGridRowDetails, respectively. To create custom templates, copy these rules into your Applies To class. Do not change the Purpose. V6.2 GRP-19651 pashm
Depending on the mode you select, you will see a different array of the following fields:
Flow Action SmartPromptAppears if edit mode is Modal Dialog or Embedded Panel, or Read Only and Show Details is selected. Select or create the flow action that will provide the form for the modal dialog or detail area that appears when the user clicks a row. V6.2 GRP-2025 pashm
Reordering Select to allow users to move objects higher or lower on the display by dragging and dropping individual rows. Depending on the properties of the objects the rows represent, rows may be moved above or below other rows, or dropped into a row that can receive them to become child entries of that row.

Unavailable if source is Report Definition.

Visual indicators give clues about the process: a line appears between two rows in the list if that is where the row you have started dragging will appear if you release it. A row that can receive the row you have selected as a child will change background color. If your mouse cursor is over an area where you cannot drop the row you have selected, an indicator will remind you that the area is not a valid target. If you attempt to drop the row there, the display will remain unchanged.

Row Resizing Appears if px-fixed is selected in the Width field on the Grid Repeat Layout properties panel. Select to allow users to click a row border and drag it beyond the Height setting in the Row Properties panel. V6.2 GRP-19650 pashm
Row Numbers Optional. Select if you want to sequentially number the rows in the grid.
Sorting Select to allow users to sort on a column in the grid. This setting applies to all columns. You can disable sorting for individual columns by clearing the Enable Sorting checkbox in a column's Cell Properties panel. Sorting is not available for columns containing Value Lists, Page Groups, images, or controls.

If enabled, a tool tip appears at runtime when the user hovers the mouse pointer over the column header. The user can alternate the sort order (ascending/descending) by  clicking the header. Icons indicating ascending sort () and descending sort () appear to the right of the header label. You can use the Branding Wizard to replace the default icons. See Branding wizard — Layouts.

Sorting is performed on all rows in the grid. If paging is enabled and the user changes the sort order, the grid view returns to the first page.

Filtering Select to allow users to show only those rows that match a column value filter. This setting applies to all columns (except as noted below). You can disable filtering for individual columns using the Enable Filtering checkbox in the Column Properties panel. V6.2 GRP-22524 pashm

If a column can be filtered, a filter icon ( ) appears on the right side of the column's header cell. The user clicks the button to display the filter pop-up menu. On the menu, the user selects the checkbox next to each property to include. Filtering mechanisms also appear in the menus for the following property types:

  • Date types ( Date and DateTime) — Define a data range in the From and To fields.
  • Text — Enter free-form text in the abc field.
  • Numeric types (Integer, Decimal, and Double) — Define a range by entering numeric values in the greater than and less than fields.

When finished, the user clicks Apply. The filter icon changes to a filter-on icon () indicating that a filter has been applied to the column.

You can use the Branding Wizard to replace the default icons. See Branding wizard — Layouts.

Columns containing images, controls, and subsections cannot be filtered. In addition, the following property types cannot be filtered:

  • TextEncrypted
  • Password
  • TimeOfDay
  • Identifier
Show Details Appears if edit mode is Read Only. Select to allow the user to click a row and display its flow action details beneath the row in read-only mode. The user can expand multiple rows. Enter the flow action in the Flow Action field. V6.2 GRP-2025 pashm
Expand All Appears if Show Details is selected. Select to display details for all rows when the user opens the form. V6.2 GRP-2025 pashm
Fixed Size Appears if px-fixed is selected in the Width field on the Grid Repeat Layout properties panel. Select this option to specify the maximum height and width of the layout. Further fields appear:
Height Enter a layout height in pixels.
WidthEnter a layout height in pixels.
Freeze PaneSelect an option to govern how the layout will behave if the grid and its data are wider and/or taller than the dimensions you have provided. The options are:
  • None — As the user scrolls down or to the right to see more data than the dimensions allow for, the header row and the first column (usually a key identifier of the row's contents) move off-screen).
  • Row Pane — As the user scrolls down, the header row remains in view to identify the columns being displayed.
  • Column Pane — As the user scrolls to the right, the first row of data remains in view to help the user identify what rows of data are being displayed
  • Both Panes — As the user scrolls to the right or down, both the header row and the first column of data remain in view.
Open on double-click Appears if the Edit Mode is Read Only. When checked, the related work object opens for editing in a work object gadget when the user double-clicks on a row of data in the display. If Process Commander cannot find the gadget, it opens the work object in a new tab or new window.

Advanced tab

Right Click Optional. Specify a the Name key part of a navigation rule that defines a context menu to appear when the user right-clicks a row in the grid. Such a menu can offer standard actions such as "Add After", "Delete", and so on. See About Navigation rules and Pega Developer Network article PRKB-26111 How to create context menus for grid layouts using navigation rules.
ID Optional. Provide an identifier for this grid. Start with a letter, use no spaces, and include only alphanumeric characters, dashes, or underscores.
Summary Describe the data to be displayed.
Refresh on Update Appears if the Edit Mode is Modal Dialog. When checked, the entire layout is refreshed each time data is updated or submitted.
Append Activity SmartPrompt Select or create an activity that runs when the user adds an entry.
Delete Activity SmartPrompt Select or create an activity that runs when the user deletes an entry.
Target for Edit SmartPrompt This field appears when edit mode is Embedded Pane. Select a custom section in which you want the details to appear. For example, assume you want the detail area to appear to the right of the grid instead of below it (default). Create a section (named gridResults) containing a two-column layout. Embed the grid in the first column and an empty section in the second column. Enter the name of the empty section in Target for Edit.

Column properties

Select a column in the repeating area and open its properties panel.

Width Specify the column width of this column in pixels. You can also adjust the width of a column directly:
  1. Click a vertical wireframe cell border.
  2. Wait until the pointer shape changes (), then drag the border.

The unlabeled Use at Runtime checkbox to the right of the width field is enabled by default and cannot be edited. This forces the Width value to be used by the browser at runtime, even when data values in this column or in other columns would otherwise cause the browser to present a wider or narrower column. Data values may sometimes wrap or appear truncated.

Inline Style Optional: Override the stylesheet settings in this cell with local values.

Enter CSS code for an inline style for a cells in the column. For guided assistance in composing a style definition, click the magnifying glass icon (Magnifying glass) to open the Style Editor. You can select from predefined lists or type a style definition directly, and preview the results.

Enable Sorting Appears if the Enable Sorting checkbox is selected on the Repeat Grid panel. It is checked by default. Clear this checkbox to disable sorting on this column.
Use Heading Styles Select to display the cell values with the same style the column heading uses — changes the cell HTML element from <TD> to <TH>, with a resulting style change.
Enable Filtering Appears if the Filtering checkbox is selected on the Repeat Grid panel. Clear this checkbox to disable filtering on this column. V6.2 GRP-15908 pashm

Column header properties

grid repeat column

Select a column header and open its properties panel.

Value SmartPrompt Enter the title for this column.
Label For SmartPrompt Select the property that will be rendered in the header cell of this column.

General tab

Visible Select one of the available values. If you select Other Condition, a field appears where you can specify or select the When rule that checks whether the column is to be visible.
Required Select to make the values in this column required.
Wrap Text Select to force the text in this column to wrap to additional lines if it is longer than the width of the column.
Read Only This option is selected by default, which prevent edits to this field. You can refine this control by selecting or creating a when rule in the Read Only Condition field that appears when you select this option.

Advanced tab

Width Specify the width of the column in pixels. Provides the same control as the Width setting in the Column properties panel.
Height Specify the height of the cell in pixels. Provides the same control as the Height setting in the Row properties panel.
Read-Write Style Displays the stylesheet settings for this cell when editing is enabled.
Read-Only Style Displays the stylesheet settings for this cell when editing is disabled.
Inline Style Open the Style Editor panel for this cell to override the stylesheet settings with local values.
Use Heading Styles Select to display the cell values with the same style the column heading uses — changes the cell HTML element from <TD> to <TH>, with a resulting style change.

Row properties

Select either row in the repeating area and open its properties panel.

Height

Enter a positive number for the height in pixels of this cell. (At runtime, normal browser processing for rendering tables determines the actual displayed height.) You can also adjust the height of a row directly:

  1. Click a horizontal wireframe cell border.
  2. Wait until the pointer shape changes (drag), then drag the border.

The unlabeled Use at Runtime checkbox to the right of the width field is enabled by default and cannot be edited. This setting forces the Height value to be used by the browser at runtime, even when data values in this column or in other cells would otherwise cause the browser to present a taller or shorter column.

Inline Style Optional. Open the Style Editor panel for this cell to override the stylesheet settings with local values.
Make Header? Select to display all the cell values in the row with the same style that the column heading uses. This is an alternative to individually selecting the Use Heading Styles checkbox for each column. This option is unchecked by default.

Cell properties

grid repeat cell

Select a cell from the second row in the repeating area and open its properties panel.

Property SmartPrompt Identify the property the repeating rows display.

If the source is a Report Definition, the list contains Column Name properties defined in the rule. If there are joins in the report, property names appear as joinname.PropertyName.

This field does not appear if the value in the Control field contains an Action mode control rule such as pxButton.

Control Select a control rule to format the value in this cell. If left blank, the property uses the control rule (if any) in the Control field on the property rule form's SmartPromptGeneral tab.

Many controls on the Basic and Advanced groups are associated with default control rules based on the property type. When you drag and drop a control into the cell, the rule appears in this field. For example, the Button control populates the field with pxButton, the Text Area control with pxTextArea, and so on. updated 10/20/10 pashm

Behavior Click the magnifying glass beside this field to display the Client Event Editor, where you can specify formatting conditions and actions for this field. See Implementing dynamic form actions and the Client Event Editor.

This field does not appear if the value in the Control field contains an Action mode control rule such as pxButton.

General tab

Visible Select one of the options presented. The default is Always. If you select Other Condition, the Condition field appears. Select or create the When rule that governs this cell's visibility.
Required Select to make this a required field if the user adds data to the display.
Wrap Text Select so that long text entries in this field appear over multiple lines, rather than requiring a scrollbar.
Read Only Select to prevent edits to this field. You can refine this control by selecting or creating a When rule in the Read Only Condition field that appears when you select this option.

This setting has no effect if the data source is a Report Definition.

Advanced tab

Width Specify the width of the column in pixels. Provides the same control as the Width setting in the Column properties panel.
Height Specify the height of the cell in pixels. Provides the same control as the Height setting in the Row properties panel.
Default Value Specify a default value for this field. Click the magnifying glass beside it to display the Expression Builder, where you can select or create an expression to generate the default value. Leave the field blank if it does not require a default value.
Read-Write Style Displays the stylesheet settings for this cell when editing is enabled.
Read-Only Style Displays the stylesheet settings for this cell when editing is disabled.
Inline Style Open the Style Editor panel for this cell to override the stylesheet settings with local values.
Use Heading Styles Select to display the cell values with the same style the column heading uses — changes the cell HTML element from <TD> to <TH>, with a resulting style change.

star The delete icon appears at the right of the repeating row in this area, to indicate how and where it appears at runtime. Do not use it to attempt to remove cells or rows while editing the layout.

 Adjust the action areas

The Grid layout has two action areas, one at the top and one at the bottom of the display. You can use one or both.

tree grid action section

If you use both, configure each action area separately.

Select Action Top or Action Bottom, then display the properties panel. Select a column header and open its properties panel.

Visible When: Optional. If the action area is only visible under certain circumstances, select or create a when rule.

General tab

This tab has no options.

Advanced tab

ID Optional. Provide an identifier for this grid, for JavaScript use. Start with a letter, use no spaces, and include only alphanumeric characters, dashes, or underscores.

Column properties

Select a column in one of the action areas and open its properties panel.

grid action column

Width Specify the column width in pixels.

Clear the Use at Runtime checkbox (unlabeled) next to the width field to allow the browser at runtime to determine the width of this column based on the size of the column contents and the size of other columns. The width may vary from use to use depending on the contents of this cell and other cells. (When cleared, the generated HTML for this column includes a <TD> element with no WIDTH= attribute.) The Width value is used as you view the rule form, but not at runtime.

For example, clear this checkbox if the cell is to contain a section rule that may be wide in some situations and narrow in others.

Select (default) the Use at Runtime checkbox to force the Width value to be used by the browser at runtime, even when data values in this column or in other columns would otherwise cause the browser to present a wider or narrower column. If checked, data values may sometimes wrap or appear truncated.

Inline Style Optional. Enter CSS code for an inline style for a cells in the column. For guided assistance in composing a style definition, click the magnifying glass icon (Magnifying glass) to open the Style Editor. You can select from predefined lists or type a style definition directly, and preview the results.
Enable Sorting Appears and selected by default if Sorting in the Repeat Grid properties panel is selected. Clear the checkbox to disable sorting on this column.
Use Heading Styles checkbox Select to display the cell values with the same style the column heading uses — changes the cell HTML element from <TD> to <TH>, with a resulting style change.
Enable Filtering Appears and selected by default if Filtering in the Repeat Grid properties panel is selected. Clear the checkbox to disable filtering on this column.

Row properties

Select the row in the top or bottom action area and open its properties panel.

Height

Enter a positive number for the height in pixels of this cell.

Clear the Use at Runtime checkbox (unlabeled) to allow the browser at runtime to determine the height of this row based on the size of the row contents and the size of other rows. The height may vary from use to use depending on the contents of this cell and other cells. (When cleared, the generated HTML for this column includes a <TD> element with no HEIGHT= attribute.) The Height value is used as you update the rule, but not at runtime.

For example, clear this checkbox if the cell is to contain a section rule that may be tall in some situations and short in others.

Select the Use at Runtime checkbox to force the Height value to be used by the browser at runtime, even when data values in this column or in other cells would otherwise cause the browser to present a taller or shorter column.

Inline Style Open the Style Editor panel for this cell to override the stylesheet settings with local values.
Make Header? Select to display all the cell values in the row with the same style that the column heading uses. This is an alternative to individually selecting the Use Heading Styles checkbox for each column. This option is unchecked by default.

Action cell properties

grid action cell

Add a control, property, or other section rule that is appropriate to the display and function of your data. Configure the section rule's properties by selecting it and then displaying the properties panel. For buttons, see Section and Flow Action forms — Adding a Button Control.

Up About Flow Action rules

Up About Harness rules

Up About Section rules