mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 13:25:51 +03:00
[GH-ISSUE #345] Table: be able to fix the width of each column when scrolling #258
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#258
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cespedes on GitHub (Sep 13, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/345
In some cases, it would be nice to have the width of all the columns in a Table fixed, so that when using a large table with cells of different size and scroll through it, every column is always in the same place.
I needed this functionality for one of my projects, so I already forked tview and patched it in https://github.com/cespedes/tview adding a SetFixedColumnsWidth(bool) to *Table
It would be nice if you could merge it (or implement it in any other way), so that I could use the main repository instead of a fork.
Thank you,
@cespedes commented on GitHub (Sep 14, 2019):
After reviewing the issues, I see this one is similar to #119 but I still think it would be good if the package could provide one way to fix the columns width...
@rivo commented on GitHub (Nov 21, 2019):
Thanks. I added this. It has a different name, though. See the referenced commit.