Adds a row of cells <td>val</td><td>...</td>
to a table string for
htmlTable()
prAddCells(
rowcells,
cellcode,
style_list,
style,
prepped_cell_css,
cgroup_spacer_cells,
has_rn_col,
offset = 1,
style_list_align_key = "align"
)
string
Returns the string with the new cell elements
The cells with the values that are to be added
Type of cell, can either be th
or td
The style_list
The cell style
The number of cells that occur between columns due to the cgroup arguments.
Due to the alignment issue we need to keep track of if there has already been printed a rowname column or not and therefore we have this has_rn_col that is either 0 or 1.
For rgroup rows there may be an offset != 1
Other hidden helper functions for htmlTable:
prAddEmptySpacerCell()
,
prAddSemicolon2StrEnd()
,
prEscapeHtml()
,
prGetCgroupHeader()
,
prGetRowlabelPos()
,
prGetStyle()
,
prPrepInputMatrixDimensions()
,
prPrepareAlign()
,
prPrepareCgroup()
,
prTblNo()