[GH-ISSUE #34] multi line and auto line break columns for tables #25

Closed
opened 2026-03-04 01:01:13 +03:00 by kerem · 1 comment
Owner

Originally created by @DaKine23 on GitHub (Jan 15, 2018).
Original GitHub issue: https://github.com/rivo/tview/issues/34

Would be great if there is more then a "one line content" for table cells. e.g. any ASCII art as a symbol in a single cell.

In addition it would be great to add "auto line break" as a toggle that together with "maxWidth" allows auto line breaks instead of just cutting out content.

Originally created by @DaKine23 on GitHub (Jan 15, 2018). Original GitHub issue: https://github.com/rivo/tview/issues/34 Would be great if there is more then a "one line content" for table cells. e.g. any ASCII art as a symbol in a single cell. In addition it would be great to add "auto line break" as a toggle that together with "maxWidth" allows auto line breaks instead of just cutting out content.
kerem closed this issue 2026-03-04 01:01:13 +03:00
Author
Owner

@rivo commented on GitHub (Jan 15, 2018):

I don't think I will extend the Table class to do that. It's complicated enough to make it work with one-row content, especially when you want to navigate tables with fixed rows/columns, selections etc.

There is another feature request for grids, though (see #23), which I plan on adding. You could define a grid and put your ASCII art in the grid. Each cell could be a TextView which now has word line breaks, too. This should be very similar to tables with multi-line cells.

<!-- gh-comment-id:357743718 --> @rivo commented on GitHub (Jan 15, 2018): I don't think I will extend the `Table` class to do that. It's complicated enough to make it work with one-row content, especially when you want to navigate tables with fixed rows/columns, selections etc. There is another feature request for grids, though (see #23), which I plan on adding. You could define a grid and put your ASCII art in the grid. Each cell could be a `TextView` which now has word line breaks, too. This should be very similar to tables with multi-line cells.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#25
No description provided.