Class to make and return a html table.
Definition at line 737 of file pulsarhtmlutils.py.
Inherits lalpulsar.pulsarhtmlutils.htmltag.
Public Member Functions | |
def | __init__ (self, tag="table", tableclass="", tableid="", tablestyle="") |
def | tabletext (self) |
def | addrow (self, rowclass="", rowid="", rowstyle="") |
Add a new empty row dictionary to the list and increment the current row index. More... | |
def | deleterow (self, rowidx) |
Delete a row. More... | |
def | adddata (self, datatext, dataclass="", dataid="", datastyle="", header=False, rowspan=0, colspan=0, rowidx=None) |
Add table data (or is header is True) tags to a given row. More... | |
def | __str__ (self) |
Public Member Functions inherited from lalpulsar.pulsarhtmlutils.htmltag | |
def | __init__ (self, tag, tagtext="", tagclass="", tagid="", tagstyle="", newline=False) |
def | __iadd__ (self, ttext) |
Overload the += operator to append text to tagtext. More... | |
def | tag (self) |
def | set_tag (self, t) |
def | tagclass (self) |
def | set_tagclass (self, tclass) |
def | tagid (self) |
def | set_tagid (self, tid) |
def | tagstyle (self) |
def | set_tagstyle (self, tstyle) |
def | tagtext (self) |
def | set_tagtext (self, ttext) |
def | tagextra (self) |
def | set_tagextra (self, textra) |
def | taginfo (self) |
def | text (self) |
def lalpulsar.pulsarhtmlutils.htmltable.__init__ | ( | self, | |
tag = "table" , |
|||
tableclass = "" , |
|||
tableid = "" , |
|||
tablestyle = "" |
|||
) |
Definition at line 739 of file pulsarhtmlutils.py.
def lalpulsar.pulsarhtmlutils.htmltable.tabletext | ( | self | ) |
Definition at line 749 of file pulsarhtmlutils.py.
def lalpulsar.pulsarhtmlutils.htmltable.addrow | ( | self, | |
rowclass = "" , |
|||
rowid = "" , |
|||
rowstyle = "" |
|||
) |
Add a new empty row dictionary to the list and increment the current row index.
Definition at line 774 of file pulsarhtmlutils.py.
def lalpulsar.pulsarhtmlutils.htmltable.deleterow | ( | self, | |
rowidx | |||
) |
Delete a row.
Definition at line 783 of file pulsarhtmlutils.py.
def lalpulsar.pulsarhtmlutils.htmltable.adddata | ( | self, | |
datatext, | |||
dataclass = "" , |
|||
dataid = "" , |
|||
datastyle = "" , |
|||
header = False , |
|||
rowspan = 0 , |
|||
colspan = 0 , |
|||
rowidx = None |
|||
) |
Add table data (or is header is True) tags to a given row.
Definition at line 797 of file pulsarhtmlutils.py.
def lalpulsar.pulsarhtmlutils.htmltable.__str__ | ( | self | ) |
Reimplemented from lalpulsar.pulsarhtmlutils.htmltag.
Definition at line 830 of file pulsarhtmlutils.py.