[GH-ISSUE #387] Feature Request: colspan for table #286

Closed
opened 2026-03-04 01:03:38 +03:00 by kerem · 3 comments
Owner

Originally created by @askovpen on GitHub (Jan 15, 2020).
Original GitHub issue: https://github.com/rivo/tview/issues/387

Originally created by @askovpen on GitHub (Jan 15, 2020). Original GitHub issue: https://github.com/rivo/tview/issues/387
kerem closed this issue 2026-03-04 01:03:38 +03:00
Author
Owner

@askovpen commented on GitHub (Jan 15, 2020):

like this:

Layer 1 Layer 2 Layer 3
L1 Name A L2 Name A L3 Name A
L1-L2 Name B L3 Name B
L1 Name C L2 Name C L3 Name C
<!-- gh-comment-id:574822184 --> @askovpen commented on GitHub (Jan 15, 2020): like this: <table> <thead> <tr> <th>Layer 1</th> <th>Layer 2</th> <th>Layer 3</th> </tr> </thead> <tbody> <tr> <td >L1 Name A</td> <td >L2 Name A</td> <td>L3 Name A</td> </tr> <tr> <td colspan=2 align=center>L1-L2 Name B</td> <td>L3 Name B</td> </tr> <tr> <td >L1 Name C</td> <td >L2 Name C</td> <td>L3 Name C</td> </tr> </tbody> </table>
Author
Owner

@tslocum commented on GitHub (Jan 16, 2020):

You may have already considered this: a Grid may be able to fill this role, however you must take care of updating its elements as the user scrolls / changes focus.

<!-- gh-comment-id:575382287 --> @tslocum commented on GitHub (Jan 16, 2020): You may have already considered this: a `Grid` may be able to fill this role, however you must take care of updating its elements as the user scrolls / changes focus.
Author
Owner

@tcurdt commented on GitHub (Jan 31, 2023):

@tslocum There is a way to create col or row spans with Grid?
I didn't get that from the docs. Is there an examples somewhere?

<!-- gh-comment-id:1409637710 --> @tcurdt commented on GitHub (Jan 31, 2023): @tslocum There is a way to create col or row spans with `Grid`? I didn't get that from the docs. Is there an examples somewhere?
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#286
No description provided.