Skip to content
Textual
DataTable
Initializing search
GitHub
Home
Introduction
Tutorial
Guide
Widgets
Reference
API
How To
FAQ
Roadmap
Blog
Textual
GitHub
Home
Introduction
Introduction
Getting started
Help
Tutorial
Guide
Guide
Devtools
App Basics
Styles
Textual CSS
DOM Queries
Layout
Events and Messages
Input
Actions
Reactivity
Themes
Widgets
Content
Animation
Screens
Workers
Command Palette
Testing
Widgets
Reference
Reference
CSS Types
CSS Types
<border>
<color>
<hatch>
<horizontal>
<integer>
<keyline>
<name>
<number>
<overflow>
<position>
<percentage>
<scalar>
<text-align>
<text-style>
<vertical>
Events
Events
AppBlur
AppFocus
Blur
Click
DescendantBlur
DescendantFocus
Enter
Focus
Hide
Key
Leave
Load
Mount
MouseCapture
MouseDown
MouseMove
MouseRelease
MouseScrollDown
MouseScrollUp
MouseUp
Paste
Print
Resize
ScreenResume
ScreenSuspend
Show
Unmount
Styles
Styles
Align
Background
Background-tint
Border
Border-subtitle-align
Border-subtitle-background
Border-subtitle-color
Border-subtitle-style
Border-title-align
Border-title-background
Border-title-color
Border-title-style
Box-sizing
Color
Content-align
Display
Dock
Grid
Grid
Column-span
Grid-columns
Grid-gutter
Grid-rows
Grid-size
Row-span
Hatch
Height
Keyline
Layer
Layers
Layout
Links
Links
Link-background
Link-background-hover
Link-color
Link-color-hover
Link-style
Link-style-hover
Margin
Max-height
Max-width
Min-height
Min-width
Offset
Opacity
Outline
Overflow
Padding
Position
Scrollbar colors
Scrollbar colors
Scrollbar-background
Scrollbar-background-active
Scrollbar-background-hover
Scrollbar-color
Scrollbar-color-active
Scrollbar-color-hover
Scrollbar-corner-color
Scrollbar-gutter
Scrollbar-size
Scrollbar-visibility
Text-align
Text-opacity
Text-overflow
Text-wrap
Text-style
Tint
Visibility
Width
Widgets
Widgets
Button
Checkbox
Collapsible
ContentSwitcher
DataTable
DataTable
Table of contents
Guide
Adding data
Styling and justifying cells
Keys
Cursors
Updating data
Removing data
Removing columns
Fixed data
Sorting
Labeled rows
Reactive Attributes
Messages
Bindings
Component Classes
DataTable
show_header
show_row_labels
fixed_rows
fixed_columns
zebra_stripes
header_height
show_cursor
cursor_foreground_priority
cursor_background_priority
cursor_type
cell_padding
name
id
classes
disabled
BINDINGS
COMPONENT_CLASSES
cell_padding
columns
cursor_background_priority
cursor_column
cursor_coordinate
cursor_foreground_priority
cursor_row
cursor_type
fixed_columns
fixed_rows
header_height
hover_column
hover_coordinate
hover_row
ordered_columns
ordered_rows
row_count
rows
show_cursor
show_header
show_row_labels
zebra_stripes
CellHighlighted
cell_key
control
coordinate
data_table
value
CellSelected
cell_key
control
coordinate
data_table
value
ColumnHighlighted
column_key
control
cursor_column
data_table
ColumnSelected
column_key
control
cursor_column
data_table
HeaderSelected
column_index
column_key
control
data_table
label
RowHighlighted
control
cursor_row
data_table
row_key
RowLabelSelected
control
data_table
label
row_index
row_key
RowSelected
control
cursor_row
data_table
row_key
action_page_down
action_page_left
action_page_right
action_page_up
action_scroll_bottom
action_scroll_end
action_scroll_home
action_scroll_top
add_column
label
width
key
default
add_columns
*columns
add_row
*cells
height
key
label
add_rows
rows
clear
columns
coordinate_to_cell_key
coordinate
get_cell
row_key
column_key
get_cell_at
coordinate
get_cell_coordinate
row_key
column_key
get_column
column_key
get_column_at
column_index
get_column_index
column_key
get_row
row_key
get_row_at
row_index
get_row_height
row_key
get_row_index
row_key
is_valid_column_index
column_index
is_valid_coordinate
coordinate
is_valid_row_index
row_index
move_cursor
row
column
animate
scroll
refresh_column
column_index
refresh_coordinate
coordinate
refresh_row
row_index
remove_column
column_key
remove_row
row_key
sort
columns
key
reverse
update_cell
row_key
column_key
value
update_width
update_cell_at
coordinate
value
update_width
data_table
CellType
CursorType
CellDoesNotExist
CellKey
column_key
row_key
Column
get_render_width
data_table
ColumnDoesNotExist
ColumnKey
DuplicateKey
Row
RowDoesNotExist
RowKey
StringKey
Digits
DirectoryTree
Footer
Header
Input
Label
Link
ListItem
ListView
LoadingIndicator
Log
MarkdownViewer
Markdown
MaskedInput
OptionList
Placeholder
Pretty
ProgressBar
RadioButton
RadioSet
RichLog
Rule
Select
SelectionList
Sparkline
Static
Switch
TabbedContent
Tabs
TextArea