I can't seem to highlight and copy text directly from a data table. Is this only possible by using a label that references the selected table data like in this code snippet?:
DataTable.Selected.City
If I can somehow copy directly from the table without having to use labels that would be ideal.
Solved! Go to Solution.
By copying, do you intend using the selected item in another screen, if so then use a Variable like:
Set(SelectedItem.DataTable1.Selected.City)
On OnSelect of a Button
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
No, since data in the table can't be directly copied, its mostly just to make it easier for the end user to copy their "active" selection.
I was hoping to just spit out the selected row into a string:
Can you give a clear Example?
Do you want to join columns on the DataTable in a Textbox?
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
I would like to join the selected row from from the DataTable into a textbox (Label1) in this case. With maybe a | to separate each part.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
192 | |
67 | |
46 | |
41 | |
22 |
User | Count |
---|---|
252 | |
121 | |
84 | |
80 | |
72 |