Caplin Trader 5.1.0

Module: ct-presenter/sljs/SLJSContainerNodeListManager

Type Definitions

ContainerField

An object describing a container field.

Type:
  • Object
Properties:
Name Type Attributes Description
fieldName String

The name of the field in the container. Or a "fake" name if this is a computed field.

computed function <optional>

A function that sets the value of the computed field. It will be called whenever a record is updated. It will recieve two arguments: a presenter property to which it will write the value, and an object with all the fields and values for that record.

formatter Object <optional>

An object configuring a formatter to be used on this property.

Properties
Name Type Attributes Description
instance Class <optional>

The formatter instance.

config Object <optional>

A config object for the formatter.