Table Widget Example

Demonstrates advanced options for the Table widget, including selection, row-level highlighting, and column-level highlighting.

Data grids are complex. Users expect to navigate them with keys, select rows, and clearly see which cell is active. The Table widget provides these features out of the box efficiently.

Features Demonstrated

Hotkeys

Usage

ruby examples/widget_table_demo/app.rb

Learning Outcomes

Use this example if you need to… - Build a file explorer or process list. - Create a data-heavy dashboard. - Handle conflicting style requirements (e.g., β€œHighlight this row, but make this error cell red”).

Demo