new MfldColl()

Constructor for array of Mflds

Description

Array subclass that holds Mfld instances with enhanced array methods. It has the same methods as a standard array with the addition of the .m method. New MfldColl is created from mkMfld() method in FieldHelpers.

Methods


m( dn ) → {Mfld}

Description

Find Mfld in MfldColl by data name.

Parameters
Name Type Description
dn string

Data name of the field

Returns

The Mfld instance with matching data_name

Examples
mflds.m('inspector_name').span = 6; // set span of inspector_name field to 6