Object

TableBorder

The object for setting borders for tables.

Properties

Defines the stroke properties of the border. Stroke properties cannot be set for each side; the border can only be disabled or enabled for each side.

bottom
boolean

Indicates whether the border should be applied to the bottom.

left
boolean

Indicates whether the border should be applied to the left side.

right
boolean

Indicates whether the border should be applied to the right side.

top
boolean

Indicates whether the border should be applied to the top.

Discussion

The TableBorder object defines a table cell border. The border style is the same for all sides of the table cell. Use a value of false for any side of a border that you do not want to show.

Example

{ "componentStyles": { "exampleStyle": { "tableStyle": { "cells": { "border": { "all": { "width": 2, "color": "#ddd", "style": "solid" }, "left": false, "right": false } } } } }}

See Also

Table Styles

Defining and Using Table Styles

Apply table styles, such as borders and backgrounds, to the rows, columns, and cells in your HTML and JSON tables.

object TableStyle

The object for defining a style for rows, columns, cells, and headers in a table.

object TableRowStyle

The object for applying styles to rows in a table.

object ConditionalTableRowStyle

The object for applying styles to table rows that meet certain conditions.

object TableRowSelector

The object for defining conditions that will cause a conditional style to be applied to a row.

object TableColumnStyle

The object for applying styles to columns in a table.

object ConditionalTableColumnStyle

The object for applying styles to table columns that meet certain conditions.

object TableColumnSelector

The object for defining conditions that will cause a conditional style to be applied to a column.

object TableCellStyle

The object for applying styles to cells in a table.

object ConditionalTableCellStyle

The object for applying a style to table cells that meet certain conditions.

object TableCellSelector

The object for defining conditions that will cause a conditional style to be applied to a cell.

object TableStrokeStyle

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

object Padding

The object for defining space around the content in a table cell.

object FormattedText

The object for specifying formatted text content and styling for captions in table cells.