Main Content

mlreportgen.dom.TableColSpec Class

Namespace: mlreportgen.dom

Formatting for one or more adjacent table columns

Description

Define the formatting for one or more adjacent table columns. Use a TableColSpec object to override formats specified by a TableColSpecGroup object.

The mlreportgen.dom.TableColSpec class is a handle class.

Creation

Description

colSpecObj = TableColSpec creates a column specification having a span of 1.

Properties

expand all

If this property is not specified (its value is []), the value is assumed to be 1.

Data Types: double

Format objects that specify the style of the columns governed by this specification.

Custom attributes of this document element, specified as an array of mlreportgen.dom.CustomAttribute objects. The custom attributes must be supported by the output format of the document element to which this object is appended.

Attributes:

NonCopyable
true

Tag for the mlreportgen.dom.TableColSpec object, specified as a character vector or string scalar. The DOM API generates a session-unique tag as part of the creation of this object. The generated tag has the form CLASS:ID, where CLASS is the object class and ID is the value of the Id property of the object. Specify your own tag value to help you identify where to look when an issue occurs during document generation.

Attributes:

NonCopyable
true

Data Types: char | string

Object identifier for the mlreportgen.dom.TableColSpec object, specified as a character vector or string scalar. The DOM API generates a session-unique identifier when it creates the document element object. You can specify your own value for Id.

Attributes:

NonCopyable
true

Data Types: char | string

Version History

Introduced in R2014a