[GH-ISSUE #651] Table and TreeView combined #476

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

Originally created by @aemengo on GitHub (Sep 22, 2021).
Original GitHub issue: https://github.com/rivo/tview/issues/651

Screen Shot 2021-09-21 at 9 19 47 PM

I'm trying to make the image above.

Right now, my strategy is to use a Table right next to a TreeView. But it's proving difficult to keep both views in sync. I was wondering if there's a smarter way to go about this? The docs advise against making custom Primitives, but it feels like the most tenable option so far.

Originally created by @aemengo on GitHub (Sep 22, 2021). Original GitHub issue: https://github.com/rivo/tview/issues/651 <img width="417" alt="Screen Shot 2021-09-21 at 9 19 47 PM" src="https://user-images.githubusercontent.com/4236888/134268864-2ab999ea-10e9-456c-81f2-b10093a2bc5e.png"> I'm trying to make the image above. Right now, my strategy is to use a `Table` right next to a `TreeView`. But it's proving difficult to keep both views in sync. I was wondering if there's a smarter way to go about this? The docs advise against making custom `Primitives`, but it feels like the most tenable option so far.
kerem closed this issue 2026-03-04 01:05:20 +03:00
Author
Owner

@aemengo commented on GitHub (Sep 25, 2021):

I had success by just using Table and constructing the branch lines myself.

<!-- gh-comment-id:927176207 --> @aemengo commented on GitHub (Sep 25, 2021): I had success by just using `Table` and constructing the branch lines myself.
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#476
No description provided.