value

Returns the value in 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 table header cell, you can use the value property within the script to obtain the value in the targeted header cell. Likewise, if you specify a 'Text Color' expression in the 'Format' dialog box for a detail cell in a table column (which means that the expression will be evaluated in turn for each detail cell in the column), you can use the value property within the script to obtain the value of the currently referenced detail cell.

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 (value > 1000) {

  [255,0,0]

}

else {

  [0,255,0]

}

See Also

Accessing Data in the Current Cell ('value'), for further information.

Table Properties, for general information about the Table component.

<< shrink © 1996-2013 InetSoft Technology Corporation (v11.5) field >>