Skip to content

Table

Overview

A table wrapper component providing a scrollable container and styled table element.

Supports a sticky-header mode (sticky prop) that pins thead cells to the top of the scroll container, and a three-tier density mode (density prop: default | compact | condensed) that drives data-density on the <table> element so descendant TableHead and TableCell primitives pick up the matching row heights.

Theme entry: Table

Props

NameTypeRequiredDefaultDescription
themeOverrideString|Object|ArraynullA partial theme object merged with the component's default theme; accepts a class string, class array, or theme object.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
stickybooleanfalseWhen true, the container becomes a vertically scrollable region with a sticky thead.
densitystringundefinedRow-height tier applied via data-density on the table element.

Slots

default

Slot.

Source

client/lib/grid/table/Table.vue

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2