Jam.py documentation

owner

owner

domain: client

language: javascript

class Field class

Description

Identifies the item to which a field object belongs.

Check the value of the owner attribute to determine the item that uses the field object to represent one of its fields.

Example

function calculate(item) {

}

function on_field_changed(field, lookup_item) {
    if (field.field_name === 'taxrate') {
        calculate(field.owner);
    }
}

See also

Dataset

Fields