Contents

TableStrokeStyle

The object for defining the color, width, and style of a stroke in a table.

Declaration

object TableStrokeStyle

Properties

NameTypeDescription
colorColor

The stroke color. The value defaults to #000 (black).

stylestring

The style of the stroke.

width(SupportedUnits | number)

The width of the stroke line.

Discussion

You can specify the color, style (solid), and width of a stroke in a table. For example, apply style to divider lines between rows.

Example

{
  "componentStyles": {
    "exampleStyle": {
      "tableStyle": {
        "rows": {
          "backgroundColor": "#fff",
          "divider": {
            "width": 1,
            "color": "#ddd"
          }
        }
      }
    }
  }
}

See Also

Table Styles