cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
agent3154
Advocate I
Advocate I

Select mutiple items from data table

I am trying to implement a functionality in which the users can select mutiple rows from a data table, and then click a button to lanuch email client with prefilled "To:" fieled. ( the email is one of the field in the data table) 

 

Is there way to select mutiple rows from a data table in powerapps? If not, is there any workaround for this without switching datatable to a gallery? 

1 ACCEPTED SOLUTION

Accepted Solutions
v-monli-msft
Community Support
Community Support

Hi @agent3154 ,

 

It seems that there is no OnSelect property for a data table and you cannot get the selected records from a data table. In that case, I think the only way to achieve this is to use a gallery instead of data table, then you can create a collection with the selected records from gallery. Insert a button control in gallery, set below formula in the OnSelect property of the button:

Collect(C1,Gallery1.Selected)

 

See documentation about data table control:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-data-table

Not yet available

  • Select multiple rows.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-monli-msft
Community Support
Community Support

Hi @agent3154 ,

 

It seems that there is no OnSelect property for a data table and you cannot get the selected records from a data table. In that case, I think the only way to achieve this is to use a gallery instead of data table, then you can create a collection with the selected records from gallery. Insert a button control in gallery, set below formula in the OnSelect property of the button:

Collect(C1,Gallery1.Selected)

 

See documentation about data table control:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-data-table

Not yet available

  • Select multiple rows.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,587)