field
Returns the current value bound to an element within a Section. The field property uses the name of the bound data field (rather than the element's ID) to refer to the element's value. If the element that references the field array is not within a Section, then the field property is undefined.
Modifications to the field array have no effect on elements.
The field array provides read-only access to the values of all bound elements in the current band/row, and is accessible from every element inside the band.
The field array provides the original data bound to the element, not the string representation provide by the Text Property. Therefor, if a column has type Date, the field array returns a Date object.
Return
original value bound to an element in the Section
Example
field['customer_id'] + ':' + field['quantity'];
See Also
Text Property, for an alternative method of referring to text contents.
Formatting a Date, for information on formatting Date-type data as a string.
Sections, for scripting issues related to Sections.
| << position | © 1996-2013 InetSoft Technology Corporation (v11.4) | hints >> |