Class: mlreportgen.dom.Table Package: mlreportgen.dom
Access table entry
tableEntryOut = entry(tableObj,row,column)
tableEntryOut = entry(tableObj,row,column) returns the table entry for the specified column of the specified row.
tableEntryOut
tableObj
row
column
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).Color = 'red'; append(rpt,t); close(rpt); rptview(rpt);
mlreportgen.dom.Table
mlreportgen.dom.FormalTable
Index number of the row (top row is row 1).
Data Types: double
double
Index number of the column (in a left-to-right text flow table, the left-most column is 1).
mlreportgen.dom.TableEntry
mlreportgen.dom.TableEntry | row
You have a modified version of this example. Do you want to open this example with your edits?