DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.

Enter additional information related to this 'class' inside the {div} macro with 'id=description'



Property Summary
String
dataProviderID
The dataprovider of the component.
Boolean
displaysTags
Flag that enables or disables merging of data inside components using tags (placeholders).
String
text
The text that is displayed inside the component.
Boolean
visible
The visible property of the component, default true.



Property Details

dataProviderID

The dataprovider of the component.

Returns

String

Sample

var field = form.newTextField('parent_table_text', 1);
field.getTitle().dataProviderID = 'mytitlevar'
 

displaysTags

Flag that enables or disables merging of data inside components using tags (placeholders).
Tags (or placeholders) are words surrounded by %%on each side. There are data tags and
standard tags. Data tags consist in names of dataproviders surrounded by%%. Standard tags
are a set of predefined tags that are made available by the system.

See the "Merging data" section for more details about tags.

The default value of this flag is "false", that is merging of data is disabled by default.

Returns

Boolean

Sample

var field = form.newTextField('parent_table_text', 1);
field.getTitle().text = 'Parent table %%customername%%'
field.getTitle().displaysTags = true
 

text

The text that is displayed inside the component.

Returns

String

Sample

var field = form.newTextField('parent_table_text', 1);
field.getTitle().text = 'Parent table'
 

visible

The visible property of the component, default true.

Returns

Boolean

Sample

var field = form.newTextField('parent_table_text', 1);
field.getTitle().visible = false