# Table Visualization Options

**Component Reference:** Table or @splunk/visualizations/table

Source: `@splunk/visualization-schemas/tableOptionsSchema`

| Option | Type | Default | Description |
| --- | --- | --- | --- |
| `backgroundColor` | string | `> themes.defaultBackgroundColor` | Specify the color for the background. You might use a data source to apply the color. The default for enterprise light is "#FFFFFF". The default for enterprise dark is "#000000". The default for prisma dark is "#0B0C0E". Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
| `columnFormat` | object | — | Lets you format an individual column in a table. Specify a column in a table as a field, followed by a property. For more information, see the Column Format Align - Left example on the Examples page. |
| `count` | number | `10` | Specify the maximum number of rows to display. |
| `dynamicHeight` | boolean | `false` | In view mode, allow the table to grow or shrink to fit the data. Ignored in edit mode. |
| `font` | string | `proportional` | Specify the font style to use for table content. Allowed values: `proportional`, `monospace` |
| `fontSize` | string | `default` | Specify the font size to use for table content. Font sizes range from extra small (10px) to large (16px) with the default being 14px. Allowed values: `extraSmall`, `small`, `default`, `large` |
| `headers` | array<string> | `> table \| getField()` | Specify an array of headers to display on the table. Though these can be statically listed, it's best to use the dynamic default, as it will return the fields of your search. Items: string |
| `headerVisibility` | string | `inline` | Specify how to display the table header row. Allowed values: `none`, `fixed`, `inline` |
| `paginateDataSourceKey` | string | `primary` | Specify the data source key for pagination and sorting. |
| `showColumnAsExpandedJson` | string \| array<string> | — | Specify row expansion content as stringified JSON. Provide either a DSL expression that resolves to an array of stringified JSON values, or a static array of stringified JSON values. Each item is rendered in the matching expanded row with JSONTree. Items: string |
| `showFooterPercentages` | boolean | `false` | Specify whether to show a row at the bottom of the table that displays percentage values for applicable columns. |
| `showFooterTotals` | boolean | `false` | Specify whether to show a row at the bottom of the table that displays total values for applicable columns. |
| `showInternalFields` | boolean | `true` | Specify whether to show internal fields that start with an underscore. The _time field will still be shown if false. |
| `showRowNumbers` | boolean | `false` | Show row numbers in the first column. |
| `table` | array<array<string \| number \| array<string \| number>>> | `> primary` | Two dimensional array of data to be displayed in the table. Items: array<string \| number \| array<string \| number>> |
| `tableFormat` | object | — | Lets you set global options for a table. |

_Auto-generated; do not edit by hand._
