logo svelte /headless table v6.2.0
Docs TableState
docsexamplescompare
FIG-DOC · slug · api/table-state // reference
  • Overview
  • Quick Start
  • createTable
  • createColumns
  • createViewModel
  • Table
  • TableViewModel
  • TableState
  • Render
  • createRender
  • Subscribe
  • HeaderRow
  • HeaderCell
  • BodyRow
  • BodyCell
  • Overview
  • addSortBy
  • addColumnFilters
  • addTableFilter
  • addColumnOrder
  • addHiddenColumns
  • addPagination
  • addSubRows
  • addGroupBy
  • addExpandedRows
  • addSelectedRows
  • addResizedColumns
  • addGridLayout
  • addFlatten
  • addDataExport
  • addVirtualScroll
  • shadcn-svelte
  • Migrating from 0.17.x
  • Beye.ai
  • shadcn-svelte
  • markdown
  • virtual-list
  • motion
  • diff
  • virtual-chat
  • purify
  • memory
  • json-view
  • scoped

TableState

TableState is the TableViewModel with two additional properties.

Usage

data: ReadOrWritable<Item[]>

A reference to the original data source.

columns: Column[]

A reference to the columns of the table.

↤ prev / № 07 tableviewmodel.
doc № 08 / 33
next / № 09 ↦ render.
MIT · v6.2.0 · 2026
made with by humanspeak
↩ to top