cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
agent3154 Helper I
Helper 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
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
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
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Top Solution Authors
Top Kudoed Authors
Users online (9,913)