mirror of
https://github.com/rivo/tview.git
synced 2026-05-01 07:45:50 +03:00
[GH-ISSUE #819] Help with List #595
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#595
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 @rmasci on GitHub (Mar 2, 2023).
Original GitHub issue: https://github.com/rivo/tview/issues/819
So I am able to create a list, I can see that list, but what I want to do is be able to have someone arrow down and hit enter, or double click with mouse, or when they select that element in the list. I'd like to see a popup so that the user can edit what the value is for that section of the list. Wondering if there was a way to do this?
@rivo commented on GitHub (Mar 25, 2023):
You'll want to use
SetSelectedFunc()to listen to list item selection events. Then you place your list and your form into aPageselement and show the form when the user selects an item. See the Wiki for an example of how to center an element.@rivo commented on GitHub (Aug 26, 2023):
Since there were no further comments, I'm assuming this has been solved.