Determining How the Target of a Selector Displays (current state)

Before you begin, you should be familiar with the various properties that define how a selector looks and what it controls, such as the target and source. See Defining a selector for descriptions.

Steps to determine how the target of a selector displays

You can define how the target of a selector displays when the document is executed. For example, the target can display all the items in the selector, or only a specific number of items. This is controlled by the Current State and Number of Elements properties, as described below:

Once a user updates the target using the selector and saves the document, the selector is set to specific items that are displayed in the target when the document is re-executed. If a user updates the target using the selector but does not save the document, the selector remains unset and the target is not changed.

Note: You can define the current state only for selectors that target attribute elements on Grid/Graphs.

 

The selector's state is saved in the Current State property when you save the document, so your selector choices are displayed when the document is re-executed. The Current State of the selector in the example is Set to specific elements.

You can reset the selector, so that it once again displays the first two regions.

 

Prerequisites

The following procedure assumes that the document contains:

To determine how the target of a selector displays

  1. Open the document in Design or Editable Mode.

  2. Right-click the selector to modify and select Properties and Formatting. The Properties and Formatting dialog box opens.

  3. From the left, click Selector.

  4. Select one of the following options from the Current State drop-down list:

  5. If Current State is set to either Use first or Use last, type the number of elements to display in the Number of Elements field. For example, if the selector source is Region, Use last is selected, and Number of Elements is defined as one, the last region is displayed.

  6. Click OK to return to the document.

Related topics

Providing interactivity to users: Selectors

Modifying properties of a selector

Applying selections as filters or slices

 

 

_____________________________