Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 3.14 KB

table-plugin.tablestylespecs.md

File metadata and controls

42 lines (33 loc) · 3.14 KB

Home > @native-html/table-plugin > TableStyleSpecs

TableStyleSpecs interface

An object describing how to generate styles. See cssRulesFromSpecs().

Signature:

export interface TableStyleSpecs 

Properties

Property Type Description
cellPaddingEm number Spacing between cells, in em.
columnsBorderWidthPx number The width of the border between columns.
fitContainerHeight boolean Expand table to HTML height. **You must une unconstrained height for this to work!** See TableConfig.computeContainerHeight.
fitContainerWidth boolean Expand table to HTML width.
fontFamily string Font family.
fontSizePx number | null Font size, in pixels.
linkColor string Link of anchors.
outerBorderColor string The border color of the table frame.
outerBorderWidthPx number The border width for the table frame.
rowsBorderWidthPx number The width of the border between rows.
selectableText boolean Will text be selectable.
tdBorderColor string Table cell border color.
thBorderColor string Table header cell border color.
thEvenBackground string Table even header cell background color.
thEvenColor string Table even header cell text color.
thOddBackground string Table even header cell background color.
thOddColor string Table odd header cell text color.
trEvenBackground string Table even row background color.
trEvenColor string Table even row text color.
trOddBackground string Table odd row background color.
trOddColor string Table odd row text color.