web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Toggle for every line ...
Power Apps
Unanswered

Toggle for every line in a data table.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello, 

As illustrated on the attached file. I need to make a toggle for every new line at this data table to give a feed back if the product is recevied or not. 

How can i make that possible ? 

1.PNG
Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous

    Not possible with a datatable. Use a gallery with the labels arranged horizontally. You can use your datatable headers by filtering its datasource with ID=0 to help you line up the labels in your gallery. 

  • Eeyore2005 Profile Picture
    119 on at

    You can add "Edit form" to the gallery arranged in the same way as your data table with item property Gallery1.Selected.

    Change your "Received" field in Gallery / Text property to: If(ThisItem.'Received'=true, "received", "-")

    Edit Form has just one field - column Received with toggle which has OnChange property: "SubmitForm(Form2)"

     

    You will have just one toggle, but it will only change values for item that you selected by clicking on the arrow.

     

    Eeyore2005_0-1677508822114.png

     

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous 

    Below is a screenshot showing the headers from a datatable, a gallery beneath it with horizontal labels to look like a datatable and a checkbox added to the side of the  gallery with OnCheck property Patch(sports, ThisItem, {Received:true}).  Pretty simple solution.

    !2.jpg

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,027

#2
Valantis Profile Picture

Valantis 644

#3
11manish Profile Picture

11manish 626

Last 30 days Overall leaderboard