Main Content

entry

Class: mlreportgen.dom.Table
Namespace: mlreportgen.dom

Access table entry

Description

tableEntryOut = entry(tableObj,row,column) returns the table entry for the specified column of the specified row.

Examples

expand all

Color the table entry in row 3, column 4.

import mlreportgen.dom.*;
rpt = Document("myDoc","html");
t = Table(magic(5));
t.Border = "single";
t.ColSep = "single";
t.RowSep = "single";
t.TableEntriesInnerMargin = "2pt";
t.TableEntriesHAlign = "right";
entry34 = entry(t,3,4);
entry34.Children(1).Style = [entry34.Children(1).Style {Color("red")}];
append(rpt,t);
close(rpt);
rptview(rpt);

Input Arguments

expand all

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

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

Data Types: double

Index number of the column (in a left-to-right text flow table, the left-most column is 1).

Data Types: double

Output Arguments

expand all

Table entry at the specified column in the specified row.

Version History

Introduced in R2014b