field

Returns the value of the cell in the specified field (column) and same row as the cell currently referenced by a 'Format' expression script. For example, if you specify a 'Text Color' expression in the 'Format' dialog box for a detail cell in a table column, you can use the field property within the script to obtain the value of the detail cell in the corresponding row of another column.

Example

The script below can be used in a 'Text Color' or 'Fill Color' expression to set color formatting on a table detail cell.

if (field['Total'] > 400) {

  [255,0,0];

} else {

  [0,0,255];

}

See Also

Accessing Data in the Same Row ('field'), for further information.

Table Properties, for general information about the Table component.

<< value © 1996-2013 InetSoft Technology Corporation (v11.4) col >>