Main Content

entry

Class: mlreportgen.dom.Table
Package: 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

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

Version History

Introduced in R2014b