cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

Re: Select mutiple items from data table

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
Highlighted
Community Support
Community Support

Re: Select mutiple items from data table

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
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,829)