Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Skin form — Components tab — Layouts — Trees and tables - Behaviors tab

Updated on April 5, 2022

Styles set here determine the text and background of a grid row when the row has focus or is selected; the style of text in a row when the mouse pointer hovers over the row; and the border, background, and images associated with drag and drop behavior within the grid.

A preview of the currently selected format displays to the right. You can also preview formats by selecting ActionsLaunch on the toolbar and then choosing one of the following preview options: Run Process, Open Portal, Harness Preview, UI Gallery Preview, Skin Preview.

Focus, Selection, and Hover

Set the text and background styles for the following:

  • Row focus — The row in focus; responds to Keyboard events, such as Enter to open an item.
  • Row selection — The selected row; responds to buttons and links in the Action Top area of the repeating grid.
  • Row hover — OnHover style; changes the appearance of a row when the mouse pointer hovers over it. To enable OnHover for rows, select the Row Hover check box in the Repeat Grid panel of the grid layout.

Text

Use default text for this grid formatSelect to use the default text specified in the Default text area on the General tab.
Use mixinSelect to use a mixin to define the color of the text. Mixin displays the name and a preview of the currently selected mixin. Click the menu icon to select a different mixin from the list. Only the text color from the selected mixin is applied.
Specify styles Select to define a custom style for the selected format and specify a Color for the text. Enter a hexadecimal value (such as #3d3d3d) or click the box next to the field to Color Picker.
  • Additional styles — Apply additional styles, specific to styling the text for this element, by specifying a CSS attribute and value. You must specify a CSS attribute that is related to text styles. Click Add additional styles to define another CSS attribute-value pair.

Background

Use default background for this grid formatSelect to use the default background color specified in the Default background area on the General tab.
Use mixinSelect to use a mixin to define the background color. Mixin displays the name and a preview of the currently selected mixin. Click the menu icon to select a different mixin from the list.
Specify styles Select to define a custom style for the selected format and specify a Color . Enter a hexadecimal value (such as #3d3d3d) or click the box next to the field to Color Picker. Click No Fill if you want a transparent background.

Border

Use default background for this formatSelect this check box to use the default border specified in the Default border area on the General tab.
Use mixin

Under Mixin overrides, you can specify the Top , Left , Right , or Bottom border as none, solid, dashed, or dotted, rather than inheriting the style from the selected mixin.

Specify styles Select to define a custom style for the selected format and specify a Color . Enter a hexadecimal value (such as #3d3d3d) or click the box next to the field to Color Picker. Click No Fill if you want a transparent background.

Drag drop

Styles set here determine the color of the row beneath which a child row will be dropped and the icons that indicate whether the dropped row will be a sibling or child of the selected node.

You set these styles with the Default grid format; they are applicable to all grids, trees, and tree grids.

Border

Sets the style for the line indicating where the selected row will be dropped.

Use default border for this grid formatSelect to use the default border specified in the Default border area on the General tab.
Use mixin Select to use a mixin to define the appearance of the border. Mixin displays the name and a preview of the currently selected mixin. Click the menu icon to select a different mixin from the list.

For the Top , Left , Right , and Bottom border, select to use the border specified in the mixin ( from mixin ) or select another option: none, solid, dashed, or dotted.

Specify styles Select to define a custom border:
  • same for all sides — clear this check box if you want to specify a different border style for Top , Left , Right , and Bottom .
  • Select a border type and specify the pixel width and color of the border: none, solid, dashed, or dotted.

Background

Use default background for this grid formatSelect to use the default background color specified in the Default background area on the General tab.
Use mixin Select to use a mixin to define the appearance of the background.

Mixin displays the name and a preview of the currently selected mixin. Click the menu icon to select a different mixin from the list.

Specify styles Select this check box to define a custom background:

Select the background Type:

none
Indicates no background color, similar to setting a transparent background.
solid
Enter a hexadecimal value (such as #3d3d3d), or click the box next to the Color field to choose a color.
gradient
Select the Direction in which you want to blend the background colors (horizontal or vertical. Specify the Start and Stop colors of the gradient. Specify a Backup color, in the event that the browser cannot render the gradient.
image
Select a background image by specifying the following options:
Background color
To use the background color specified in a mixin, choose obtained from mixin and then click the gear icon to select the mixin. Alternatively, you can select custom color and enter the CSS hexadecimal value or click the box next to the field to choose a color.
Location
Enter the location of the file, including the relative path. For example, images/AlphaCorpLogo.png.
Tile
Specify tile settings for the image.
  • If you want to use a single image, select None.
  • If you want a row of images in the background, select Horizontal.
  • If you want a column of images in the background, select Vertical.
  • If you want rows and columns containing the image in the background, select Both.
Position
Specify the placement of the starting tiled image, for example: top left.
Additional styles
You can apply additional styles, specific to styling the text for this element, by specifying a CSS attribute and value. You must specify a CSS attribute that is related to background styles. Click Add additional styles to define another CSS attribute-value pair.

Images (Sibling, No Drag Drop, Child)

For each of the following, specify an image to indicate whether the dropped row will be a sibling or child of the selected node in a tree or tree grid.

  • Sibling Image — indicates the dropped row is a sibling of the selected row.
  • No Drag Drop Image — indicates the selected row cannot be dropped in the current location.
  • Child Image — indicates the dropped row is a child of the selected row in a tree.
Sibling Image

No Drag Drop Image

Child Image

Enter the location of the file, including the relative path. For example, images/sibling.png.

To search for an image, click the Gear icon to open the Image Catalog tool. Enter any portion of a file name (relative path, file name, or extension) in the Search box, and click Find. If you can’t find the image, make sure it is in the webwb directory.

  • Component styles (custom style formats)

    Use the Component styles tab to define the presentation of components by creating custom style formats. After you define style formats, reference them on property panes for sections, harnesses, and controls.

  • Previous topic Applying a custom grid format
  • Next topic Skin form — Components tab — Layouts — Trees and tables - Actions Layout tab

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us