[PR #29] [MERGED] Added GetSelection() and SetSelectionChangedFunc() to Table #838

Closed
opened 2026-03-04 01:08:09 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rivo/tview/pull/29
Author: @maja42
Created: 1/14/2018
Status: Merged
Merged: 1/14/2018
Merged by: @rivo

Base: masterHead: TableSelectionHandling


📝 Commits (1)

  • 5518933 Added GetSelection() and SetSelectionChangedFunc() to Table

📊 Changes

1 file changed (+29 additions, -0 deletions)

View changed files

📝 table.go (+29 -0)

📄 Description

Solves Issue #27
It's possible to get the currently selected row / column from the table.
This information can also be retrieved by registering a change-listener that is called after user invocations.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rivo/tview/pull/29 **Author:** [@maja42](https://github.com/maja42) **Created:** 1/14/2018 **Status:** ✅ Merged **Merged:** 1/14/2018 **Merged by:** [@rivo](https://github.com/rivo) **Base:** `master` ← **Head:** `TableSelectionHandling` --- ### 📝 Commits (1) - [`5518933`](https://github.com/rivo/tview/commit/55189331c5dfb74c6fca70b472d9ae64fe256128) Added GetSelection() and SetSelectionChangedFunc() to Table ### 📊 Changes **1 file changed** (+29 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `table.go` (+29 -0) </details> ### 📄 Description Solves Issue #27 It's possible to get the currently selected row / column from the table. This information can also be retrieved by registering a change-listener that is called after user invocations. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 01:08:09 +03:00
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#838
No description provided.