Skip to content

[Question] How can I access the text value of a DataTable Cell with the on_tap event? #5270

Answered by ndonkoHenri
bmcgonag asked this question in Q&A
Discussion options

You must be logged in to vote

e.control represents the DataCell. So, to get the Text control you can do e.control.content, and to get the text/string, you can do e.control.content.value.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bmcgonag
Comment options

Answer selected by bmcgonag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants