mlreportgen.dom.TableRow class

Package: mlreportgen.dom
Superclasses:

Description

Creates a table row.

Construction

tableRowObj = TableRow() creates an empty table row.

Output Arguments

expand all

Table row, represented by an mlreportgen.dom.TableRow object.

Properties

expand all

The custom attributes must be supported by the output type of the document to which this document element is appended.

Table entries in this row.

Height of table row in the form valueUnits, where Units is an abbreviation for the units. These abbreviations are valid:

  • px — pixels (default)

  • cm — centimeters

  • in — inches

  • mm — millimeters

  • pc — picas

  • pt — points

Alternatively, you can specify the table row height using the TableRow.Style property. For example:

TableRow.Style = {RowHeight('.5in')};

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

Array of format objects (such as Bold objects) that specify the style of the table row.

Name of a style specified in the style sheet of the HTML document or document part containing this row. This property is ignored for Word output.

Tag for the document element, specified as a character vector.

The DOM generates a session-unique tag when it creates the document element. Structure the tag as class:id, where class is the class of the element and id is the value of the Id property. You can specify a tag to replace the generated tag. Specifying your own tag can make it easier to identify where an issue occurred during document generation.

Methods

Method

Purpose

append

Append entries to this row.

append

Clone this row.