textField

Property is read-only. It cannot be set in script.

Returns the name of the query field that is currently assigned to the ‘Text’ binding (TextFrame) at runtime. This property is read-only. Use bindingInfo.setTextField(col, type) to set the ‘Text’ binding in script.

Type

String

Example

if (Chart1.textField == 'State') {
  StateSelectionList1.visible = true;
}
else {
  StateSelectionList1.visible = false;
}

Either syntax below can be used in component script:

textField           // unqualified
Chart1.textField    // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.