ColumnGroup Objects

This defines the properties of a column group. A column group is typically used to identify related columns e.g. that represent a multi response set.

c.getColumnGroupLabel() : string

Returns the label of the column group or an empty string if there is no label associated with the column group.

c.getColumnGroupName() : string

Returns the name of the column group.

c.getColumnGroupType() : ColumnGroupType

Returns the type of column group.

c.getColumnNames() : List

Returns the list of column names in this group. The list is a copy of the list in the group and can be modified without affecting the group definition.

c.getCountedValue() : string

Returns the counted value for this column group. The counted value only has meaning for multi dichotomy sets and represents the "true" or "selected" value of the column. Note that the value is represented as a string even if the columns named by the column group have storage other than string and it is the responsibility of the calling application to convert the string representation into a valid value.