Skip to content

Modern Tui TuiTableState

Paul Squires edited this page Oct 19, 2026 · 6 revisions

Home › Terminal TUI Library › Core Widgets › TuiTableState

TuiTableState

Holds a table's selected row and scroll position.

Syntax

type TuiTableState
    as int32 selected, offset
end type

Description

A table's selection and scroll, owned by you.

Example

#import "std/tui"
using tui

dim as TuiTableState st
st.selected = 4
print st.selected, st.offset      '' 4 0

See also

TuiBlock TuiBlock.AddTitle TuiBorderGlyphs TuiTitleOf TuiList TuiRow
TuiBlock.Inner TuiBorderSet TuiTitle TuiParagraph TuiListState TuiTable

Library: Terminal TUI Library
Category: Terminal TUI Library
Documented under: Core Widgets
Working examples: hello.tiko · form.tiko · dashboard.tiko


Home · Keyword Index

Clone this wiki locally