cellProperties
object that describes cell
formatting properties. This objects are used by
FlexTable
.cellProperties(padding, border.width, border.style, border.color, border.bottom,
border.left, border.top, border.right, border.bottom.color = "black",
border.bottom.style = "solid", border.bottom.width = 1,
border.left.color = "black", border.left.style = "solid",
border.left.width = 1, border.top.color = "black",
border.top.style = "solid", border.top.width = 1,
border.right.color = "black", border.right.style = "solid",
border.right.width = 1, vertical.align = "middle", padding.bottom = 0,
padding.top = 0, padding.left = 0, padding.right = 0,
background.color = "white")
padding
overwrites arguments
padding.bottom
, padding.top
,
padding.left
, padding.right
.border.width
overwrites arguments
border.bottom.width
, border.top.width
,
border.left.width
, border.right.width
.border.style
overwrites arguments border.bottom.style
,
border.top.style
, border.left.
border.color
overwrites
arguments border.bottom.color
,
border.top.color
, border.left.color
borderProperties
for
bottom border. overwrite all border.bottom.* if
specified.borderProperties
for
left border. overwrite all border.left.* if specified.borderProperties
for top
border. overwrite all border.top.* if specified.borderProperties
for
right border. overwrite all border.right.* if specified.border.bottom.color
"black"border.bottom.style
"solid"border.bottom.width
1border.left.color
"black"border.left.style
"solid"border.left.width
1border.top.color
"black"border.top.style
"solid"border.top.width
1border.right.color
"black"border.right.style
"solid"border.right.width
1vertical.align
"middle"padding.bottom
1padding.top
1padding.left
1padding.right
1background.color
"white"borderProperties
,
chprop.cellProperties
,
FlexTable
cellProp01 = cellProperties( border.color = "gray", border.width = 2 )
cellProp02 = cellProperties(border.left.width = 0, border.right.width = 0
, border.bottom.width = 2, border.top.width = 0
, padding.bottom = 2, padding.top = 2
, padding.left = 2, padding.right = 2 )
Run the code above in your browser using DataCamp Workspace