neowinston
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2017
07:26 AM
How to get the string from a selected item in a LabelList?
I need to get the string from a selected item in a LabelList. From the docs I know that itemSelected gives me the index, but not the string. How do I get the selected string? Thank you!
3 REPLIES 3
tim_beynart
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2017
11:46 AM
Re: How to get the string from a selected item in a LabelList?
I think you need to use the index to look up the value from the LabelList data provider (peudocode, syntax may be wrong)
list.content[index].title
neowinston
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2017
12:56 PM
Re: How to get the string from a selected item in a LabelList?
Thank you, Tim! You helped me a lot!

ackmanx
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2017
07:19 PM
Re: How to get the string from a selected item in a LabelList?
For future reference of others, the specific code I had to use for your use case was:
Where m.setList was my LabelList.
m.setList.content.getChild(m.setList.itemSelected).title
Where m.setList was my LabelList.