Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

mlreportgen.dom.Table.row

Package: mlreportgen.dom

Access table row

Syntax

tableRowOut = row(tableObj,row)

Description

example

tableRowOut = row(tableObj,row) returns the table row at the specified row number.

Examples

collapse all

Color the second row of a table.

import mlreportgen.dom.*;
myReport = Document('myDoc','html');

t = Table(magic(5));
te = row(t,2);
te.Style = {Color('red')};
append(myReport,t);

close(myReport);
rptview(myReport.OutputPath);

Input Arguments

collapse all

Table containing the entry, specified as an mlreportgen.dom.Table or mlreportgen.dom.FormalTable object.

Index number of the row (top row is row 1).

Data Types: double

Output Arguments

collapse all

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

Introduced in R2014b

Was this topic helpful?