[GH-ISSUE #5] Widget: Table #4

Open
opened 2026-03-03 16:21:37 +03:00 by kerem · 5 comments
Owner

Originally created by @mum4k on GitHub (Apr 14, 2018).
Original GitHub issue: https://github.com/mum4k/termdash/issues/5

Originally assigned to: @mum4k on GitHub.

Implement a text table widget.

Similar to: https://github.com/yaronn/blessed-contrib/blob/master/docs/images/table.gif

Targeted features:

  • Support both ASCII and Unicode text.
  • API to specify columns and rows.
  • API to specify sizes of columns (auto based on content, fixed or percentage).
  • API to merge multiple columns and rows (colspan and rowspan).
  • Support content alignment within cells.
  • Support Text trimming, character or word wrapping within cells.
  • Support scrolling of longer tables.
  • Support keyboard and mouse input to interact with the table (row by row or cell by cell).
  • Visible or invisible cell and table borders.
  • Support sorting by individual columns (ascending and descending).
Originally created by @mum4k on GitHub (Apr 14, 2018). Original GitHub issue: https://github.com/mum4k/termdash/issues/5 Originally assigned to: @mum4k on GitHub. Implement a text table widget. Similar to: https://github.com/yaronn/blessed-contrib/blob/master/docs/images/table.gif Targeted features: - Support both ASCII and Unicode text. - API to specify columns and rows. - API to specify sizes of columns (auto based on content, fixed or percentage). - API to merge multiple columns and rows (colspan and rowspan). - Support content alignment within cells. - Support Text trimming, character or word wrapping within cells. - Support scrolling of longer tables. - Support keyboard and mouse input to interact with the table (row by row or cell by cell). - Visible or invisible cell and table borders. - Support sorting by individual columns (ascending and descending).
Author
Owner

@vladimirvivien commented on GitHub (Sep 7, 2020):

Hi @mum4k !
Are you actively working on this to get it merge in default branch ?
Table would be a great addition to this great project. Thanks.

<!-- gh-comment-id:687956326 --> @vladimirvivien commented on GitHub (Sep 7, 2020): Hi @mum4k ! Are you actively working on this to get it merge in default branch ? Table would be a great addition to this great project. Thanks.
Author
Owner

@vladimirvivien commented on GitHub (Sep 7, 2020):

Never mind, I see the PR - https://github.com/mum4k/termdash/pull/203

<!-- gh-comment-id:687956623 --> @vladimirvivien commented on GitHub (Sep 7, 2020): Never mind, I see the PR - https://github.com/mum4k/termdash/pull/203
Author
Owner

@mum4k commented on GitHub (Sep 7, 2020):

Thanks for reaching out @vladimirvivien, yes there is a PR in progress, but it hasn't had progress for a long time. I am not working on it any moment, nor am I planning to start in the near future.

If anyone wants to pick this up, please feel free to let me know. Otherwise I will update this issue once I pick it up again.

<!-- gh-comment-id:687972496 --> @mum4k commented on GitHub (Sep 7, 2020): Thanks for reaching out @vladimirvivien, yes there is a PR in progress, but it hasn't had progress for a long time. I am not working on it any moment, nor am I planning to start in the near future. If anyone wants to pick this up, please feel free to let me know. Otherwise I will update this issue once I pick it up again.
Author
Owner

@vladimirvivien commented on GitHub (Sep 7, 2020):

@mum4k i wish i could jump in to help, unfortunately, time. I was seriously considering a rewrite to use termdash for project. But table was key need. So i will punt to future time.

Nevertheless, termdash is awesome, great api design with symmetrical balance, looking forward to use it in something in future.

<!-- gh-comment-id:688282107 --> @vladimirvivien commented on GitHub (Sep 7, 2020): @mum4k i wish i could jump in to help, unfortunately, time. I was seriously considering a rewrite to use termdash for project. But table was key need. So i will punt to future time. Nevertheless, termdash is awesome, great api design with symmetrical balance, looking forward to use it in something in future.
Author
Owner

@mum4k commented on GitHub (Sep 7, 2020):

Thank you for the feedback @vladimirvivien, much appreciated.

<!-- gh-comment-id:688295832 --> @mum4k commented on GitHub (Sep 7, 2020): Thank you for the feedback @vladimirvivien, much appreciated.
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/termdash#4
No description provided.