[GH-ISSUE #393] Help with table border #288

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

Originally created by @vito-c on GitHub (Jan 22, 2020).
Original GitHub issue: https://github.com/rivo/tview/issues/393

I have a table that has more content than can fit on the screen. Everything works fine but I was wondering why the table gridline doesn't show up at the bottom. Ideally I would like it so the table fits inside the border box and is scrollable. If I shrink the font of my terminal so that the table is completely inside then it shows everything and the table fits inside the bounding box.

Is there a way to set the number of viewable rows AND have it scrollable?

image

Originally created by @vito-c on GitHub (Jan 22, 2020). Original GitHub issue: https://github.com/rivo/tview/issues/393 I have a table that has more content than can fit on the screen. Everything works fine but I was wondering why the table gridline doesn't show up at the bottom. Ideally I would like it so the table fits inside the border box and is scrollable. If I shrink the font of my terminal so that the table is completely inside then it shows everything and the table fits inside the bounding box. Is there a way to set the number of viewable rows AND have it scrollable? ![image](https://user-images.githubusercontent.com/820137/72922241-8bec4400-3d01-11ea-86b4-7280f5389b02.png)
kerem closed this issue 2026-03-04 01:03:38 +03:00
Author
Owner

@agruenberg commented on GitHub (Jan 23, 2020):

How did you get the icons inside the table?

<!-- gh-comment-id:577455721 --> @agruenberg commented on GitHub (Jan 23, 2020): How did you get the icons inside the table?
Author
Owner

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

Those are emojis (terminal support for them is still maturing, FYI).

<!-- gh-comment-id:577463627 --> @tslocum commented on GitHub (Jan 23, 2020): Those are emojis (terminal support for them is still maturing, FYI).
Author
Owner

@vito-c commented on GitHub (Jan 23, 2020):

🔥 @agruenberg

<!-- gh-comment-id:577516266 --> @vito-c commented on GitHub (Jan 23, 2020): 🔥✅❌ @agruenberg
Author
Owner

@rivo commented on GitHub (Jan 25, 2020):

In your screenshot, there is no space to draw the bottom line so it gets cut off. I guess you could try to resize the Table widget so that its height is always an even number.

<!-- gh-comment-id:578403575 --> @rivo commented on GitHub (Jan 25, 2020): In your screenshot, there is no space to draw the bottom line so it gets cut off. I guess you could try to resize the `Table` widget so that its height is always an even number.
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#288
No description provided.