widgetIcon Attribute

Specifies whether a modified icon will be shown for filtered items.

Type

  xsd:simpleType

Parent Elements

Element Description
editWith (Optional element) Specifies an instance of an editing component, and provides the corresponding parameters to determine its exact behavior.

Definition

  <xsd:attribute name="widgetIcon" use="optional">
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="standard"/>
      <xsd:enumeration value="filter"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>

Remarks

The widgetIcon attribute is an optional attribute of the editWith element. Its default value is "standard".

The properties dialog boxes for repeating sections and tables have a Filter Data button on the Display tab. Below the Filter Data button is a check box that allows the user to select whether a modified icon will be shown to indicate filtered items. If the user applies a filter and selects this check box, the widgetIcon attribute in the form definition file (.xsf) is set to "filter". The widgetIcon attribute is only applicable for repeating sections and tables.

Example

The following is an example of the widgetIcon attribute as it is used in the editWith element:

  <editWith component="xCollection"
 widgetIcon="filter|standard" useFilter="yes|no"
 filterDependency="xpath1 | xpath2 | xpath3>