mlreportgen.dom.TableColSpec class

Package: mlreportgen.dom
Superclasses:

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.

Construction

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

Output Arguments

expand all

Formatting for one or more adjacent table columns, represented by an mlreportgen.dom.TableColSpec object.

Properties

expand all

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.

ID for this document element, specified as a character vector or string scalar. The DOM generates a session-unique ID when it creates the document element. You can specify your own ID.

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.

Tag for this document element, specified as a character vector or string scalar.

The DOM 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. Specifying your own tag value can help you to identify where an issue occurred during document generation.