cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Santosh2016
New Member

Drag and Drop Row Reorder on Gallery

Hi, 

I am looking out for Drag and Drop Row Reorder on Gallery in Canvas App where use can save the order in the entity.

 

Any other control that can be used to display the data with Drag and Drop Row 

 

Any help is much appreciated.

 

Thank You,

Santosh.

1 ACCEPTED SOLUTION

Accepted Solutions
v-siky-msft
Community Support
Community Support

Hi @Santosh2016 ,

 

Do you mean you want the Users are able to drag and drop the items to adjust the order on Gallery?

 

So far, power apps doesn't have a similar interactive control that supports drag-and-drop. The only way to change the order of records is to sort them by Sort/SortByColumns function.

You can submit an idea to PowerApps Ideas forum to raise a new feature request. 

https://powerusers.microsoft.com/t5/Ideas/ct-p/PA_Comm_Ideas 

Sik

View solution in original post

4 REPLIES 4
v-siky-msft
Community Support
Community Support

Hi @Santosh2016 ,

 

Do you mean you want the Users are able to drag and drop the items to adjust the order on Gallery?

 

So far, power apps doesn't have a similar interactive control that supports drag-and-drop. The only way to change the order of records is to sort them by Sort/SortByColumns function.

You can submit an idea to PowerApps Ideas forum to raise a new feature request. 

https://powerusers.microsoft.com/t5/Ideas/ct-p/PA_Comm_Ideas 

Sik

Thank You @v-siky-msft  for the reply

 

yes i am looking Drag and drop functionality in the gallery to adjust the order for one our requirement.

 

Is there any 3rd party control that i use to display and drag and drop as well?

 

 

Santosh.

Hi @Santosh2016 ,

 

I'm sure there are no such controls yet supported in PowerApps.

Sik

Dunc
Frequent Visitor

I haven't built a drag and drop type component (yet), but for reordering and also linking records in a gallery to create dependencies, I set the On Select to get the record ID and sort order on first click in the gallery (or you can add an icon or button to each record), and then on the second click, it does its magic.

 

In the case of reordering, you can replace the second record clicked with the sort order value from the first record. In the case of linking, you attach the ID from the first record to the second record. It's not exactly drag and drop, but it's a quick method to reorder or link records. You just need to get the logic in your code to work in all user scenarios.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Users online (5,188)