-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
Add per-cell configuration for TableCell's SetExpansion and NotSelectable so individual cells can control expansion and selectability. Currently table config only supports row-level styling.
Background
Discovered while planning a tview presentation demo implementation via tviewyaml. The Table slide uses SetExpansion(1) on certain columns and NotSelectable for header/first-column cells.
Demo Usage
Per-cell expansion and NotSelectable; not in config.
Proposed Approach
- Extend row/cell schema to support optional
expansion(int) andnotSelectable(bool) per cell - Options: add to
TableData.Rowsas richer structure, or introducecellOptionsmap by (row,col) - In
populateTableData, callSetExpansionandSetSelectable(false)on TableCell when configured
Relevant Files
config/types.go– extend TableData or add cell metadatabuilder/builder.go–populateTableDatadocs/tview-coverage.md– document once implemented
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels