Read from packages/vue/src/components/TreeTable/types.ts, so it says what the component actually accepts.
Props
Name
Type
Description
value
TreeNodeLike[]
The rows, as tree nodes whose `data` the columns read.
selectionMode
'single' | 'multiple' | 'checkbox'
—
sortField
string | null
Sort by this `data` field…
sortOrder
1 | -1 | null
…ascending (1) or descending (-1).
removableSort
boolean
A third press on a sorted column takes it out of the sort.
globalFilter
string
Keep the rows (and the branches leading to them) whose `globalFilterFields` contain this text.
globalFilterFields
string[]
The `data` fields `globalFilter` searches.
paginator
boolean
Page the top-level rows.
rows
number
Top-level rows per page. Defaults to 10.
rowsPerPageOptions
number[]
—
loading
boolean
—
emptyMessage
string
—
stripedRows
boolean
—
showGridlines
boolean
—
size
Size
—
scrollHeight
string
A CSS height; the header stays in view.
tableStyle
string | Record<string, string>
—
caption
string
Names the table for assistive technology. Or name it with `aria-label`.
scrollbar
ScrollbarMode
The bars of the boxes this component scrolls inside — `'hover'`, `'always'` or `'native'`. The application's `scrollbar` option by default, which is `'hover'`.