Table
<vscode-table>
Properties
- breakpoint
Attribute breakpoint Type number
Default 300
- columns
Initial column sizes in a JSON-encoded array. Accepted values are:
- number
- string-type number (ex.: "100")
- px value (ex.: "100px")
- percentage value (ex.: "50%")
- percentage value (ex.: "50%")
- "auto" keyword
Attribute columns Type string[]
- compact reflected
For internal use only
Attribute compact Type boolean
Default false
- delayedResizing reflected
Attribute delayed-resizing Type boolean
Default false
- minColumnWidth
Minimum column width. Valid values are:
- number
- string-type number (ex.: "100")
- px value (ex.: "100px")
- percentage value (ex.: "50%")
- percentage value (ex.: "50%")
- "auto" keyword
Attribute min-column-width Type string
Default '50px'
- resizable reflected
Attribute resizable Type boolean
Default false
- responsive reflected
Attribute responsive Type boolean
Default false
- version readonly
VSC Element version
Attributes
- bordered
Rows and columns are separated by borders
Type Boolean
- bordered-columns
Columns are separated by borders
Type Boolean
- bordered-rows
Rows are separated by borders
Type Boolean
- zebra
Zebra stripes, even rows are tinted.
Type Boolean
- zebra-odd
Zebra stripes, odd rows are tinted.
Type Boolean
Custom CSS Properties
- --border
Default var(--vscode-editorGroup-border)
- --font-family
Default var(--vscode-font-family)
- --font-size
Default var(--vscode-font-size)
- --foreground
Default var(--vscode-foreground)
- --header-background
Default var(--vscode-keybindingTable-headerBackground)
- --resize-hover-border
Default var(--vscode-sash-hoverBorder)
- --tinted-row-background
Default var(--vscode-keybindingTable-rowsBackground)